Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
title$search.measurements-bundle-limit example

Searching measurements with $search-measurements-bundle-limit

POST $search-measurement request body:

Parameters available:

Amount

Parameter Name

Type

0..1

patient

Reference (Patient)

0..1

episodeOfCare

Reference (EpisodeOfCare)

0..1

count

Positive Integer

0..1

start

DateTimeType

0..1

end

DateTimeType

0..*

based-on

Reference (ServiceRequests)

Combinations allow for:

Info

Only one of the parameters Start or End can be used at a time.

  • If start is used, the first count number of bundles after the start time is returned.

  • If end is used, the latest count number of bundles up to the end time is returned.

  • broad searches (Patient and Start or End only)

  • precise searches (Start or End and ServiceRequest) and other combinations

Response:

The response is a bundle of nested bundles that each contain a full set of related resources (Observation, Media, QuestionnaireResponse and Provenance) for a found measurement. If a QuestionnaireResponse is part of a bundle the Questionnaire it answers is also included in the bundle. Related resources are the set of resources created by a single invocation of the submit-measurement operation. The amount of nested bundles is limited by the given count parameter.

  • Bundle of:

    • Bundle for each submitted together:

      • 0..* Observation

      • 0..* Media

      • 0..* QuestionnaireResponse

      • 0..* Provenance indicating reuse of measurement

Examples:

Below example is from here: http://ehealth-documentation.s3-website-eu-west-1.amazonaws.com/latest/ig/POST_search-measurements.html#post-search-measurements

Like the $search-measurements operation, the $search-measurements-bundle-limit operation is also a POST request to the URL:

POST [base]/$search-measurements-bundle-limit

The search parameters are sent by including them in the request body (below is a JSON example of a body):

Code Block
languagejson
{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "patient",
      "valueReference": {
        "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
      }
    },
    {
      "name": "count",
      "valueInteger": 10
    },
    {
      "name": "end",
      "valueDateTime": "2024-06-06T04:41:38+02:00"
    }
  ]
}

The response will then contain a bundle of bundles with the found resources (Below is a JSON example of a return bundle):

Code Block
languagejson
{
  "resourceType": "Bundle",
  "type": "collection",
  "entry": [
    {
      "fullUrl": "f0d826c9-61d3-4406-8d3e-43e0a0c1ebbd",
      "resource": {
        "resourceType": "Bundle",
        "id": "f0d826c9-61d3-4406-8d3e-43e0a0c1ebbd",
        "type": "collection",
        "entry": [
          {
            "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/ProvenanceObservation/3029",
            "resource": {
              "resourceType": "ProvenanceObservation",
              "ideffectivePeriod": "30", {
                "target": [end": "2024-06-17T07:41:37+02:00",
                 {"start": "2024-06-17T07:41:37+02:00"
              },
   "reference": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/29"          "code": {
     }           "coding": [
  ],               "meta": {
                    "sourcesystem": "#408ec467-6c79-43urn:oid:1.2.208.176.2.1",
                    "lastUpdatedcode": "2024-06-17T05:41:37.304+00:00",NPU03011"
                  }
     "profile": [          ]
        "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"      },
          ],    "performer": [
           "versionId": "1"    {
          },        "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
        "agent":  [      }
          {    ],
              "whostatus": { "final",
              "device": {
                "reference": "https://patientdevice.local.ehealth.sundhed.dk/fhir/PatientDevice/8100"72047"
              },
              "id": "29",
   }           "extension": [
    }            {
   ],               "policyvalueReference": {
   [                 "http"reference": "https://careplan.local.ehealth.sundhed.dk/policyfhir/ehealth/coherent-submitted-measurement"EpisodeOfCare/46567"
                  ]},
              "recorded    "url": "2024-06-05T07:41:37.286+02:00"http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
                },
          },      {
    {              "fullUrlextension": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/29",[
            "resource": {       {
       "resourceType": "Observation",              "valueId": "effectivePeriod": {42",
                      "endurl": "2024-06-17T07:41:37+02:00",serviceRequestVersionId"
                "start": "2024-06-17T07:41:37+02:00"   },
           },         {
     "code": {                 "codingvalueCodeableConcept": [{
                  {      "coding": [
             "system": "urn:oid:1.2.208.176.2.1",            {
        "code": "NPU03011"                   }
"system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
               ]             "code": "Adhoc"
},               "performer": [          }
      {                  ]
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"                 }    },
          ],               "statusurl": "finaltype",
              "device": {          }
      "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/72047"           ],
   },               "idurl": "29",http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
              "extension": [ }
              ],
{                   "valueReferencesubject": {
  
                 "reference": "https://careplanpatient.local.ehealth.sundhed.dk/fhir/EpisodeOfCarePatient/465678100"

                 },
   
              "urlmeta": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" {
                 }"source": "#6b5ef661-57ea-4a",
                {
"lastUpdated": "2024-06-17T05:41:37.174+00:00",
                 "extensionprofile": [
                    {"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
                       "valueId": "42",
     ],
                "urlversionId": "serviceRequestVersionId1"
              },
       },       "basedOn": [
            {    {
                  "valueCodeableConceptreference": {"https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/31566"
                }
       "coding": [      ]
            }
       {   }
        ]
      }
    },
    {
"system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
                            "code"fullUrl": "Adhoc"
                          }
                        ]
                      },
           2666bbd6-1c51-418a-a32c-ac915dfef6a3",
          "url": "type"
                    }
                  ],
                  "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
                }
              ],
              "subject": {
                "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
              },
              "meta": {
                "source": "#6b5ef661-57ea-4a",
                "lastUpdated": "2024-06-17T05:41:37.174+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
                ],
                "versionId": "1"
              },
              "basedOn": [
                {
                  "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/31566"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl": "2666bbd6-1c51-418a-a32c-ac915dfef6a3",
      "resource": {
        "resourceType": "Bundle",
        "id": "2666bbd6-1c51-418a-a32c-ac915dfef6a3",
        "type": "collection",
        "entry": [
          {
            "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Provenance/28",
            "resource": {
              "resourceType": "Provenance",
              "id": "28",
              "target": [
                {
                  "reference": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/27"
                }
              ],
              "meta": {
                "source": "#eb81403f-d6e4-4c",
                "lastUpdated": "2024-06-17T05:41:37.063+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
                ],
                "versionId": "1"
              },
              "agent": [
                {
                  "who": {
                    "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
                  }
                }
              ],
              "policy": [
                "http://ehealth.sundhed.dk/policy/ehealth/coherent-submitted-measurement"
              ],
              "recorded": "2024-06-03T07:41:36.986+02:00"
            }
          },
          {
            "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/27",
            "resource": {
              "resourceType": "Observation",
              "effectivePeriod": {
                "end": "2024-06-17T07:41:36+02:00",
                "start": "2024-06-17T07:41:36+02:00"
              },
              "code": {
                "coding": [
                  {
                    "system": "urn:oid:1.2.208.176.2.1",
                    "code": "NPU03011"
                  }
                ]
              },
              "performer": [
                {
                  "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
                }
              ],
              "status": "final",
              "device": {
                "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/2050"
              },
              "id": "27",
              "extension": [
                {
                  "valueReference": {
                    "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/65152"
                  },
                  "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
                },
                {
                  "extension": [
                    {
                      "valueId": "42",
                      "url": "serviceRequestVersionId"
                    },
                    {
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
                            "code": "Adhoc"
                          }
                        ]
                      },
                      "url": "type"
                    }
                  ],
                  "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
                }
              ],
              "subject": {
                "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
              },
              "meta": {
                "source": "#b7bbebca-a50c-43",
                "lastUpdated": "2024-06-17T05:41:36.956+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
                ],
                "versionId": "1"
              },
              "basedOn": [
                {
                  "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/82641"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl": "b515e3be-13f3-4eed-8067-83743581781f",
      "resource": {
        "resourceType": "Bundle",
        "id": "b515e3be-13f3-4eed-8067-83743581781f",
        "type": "collection",
        "entry": [
          {
            "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Provenance/26",
            "resource": {
              "resourceType": "Provenance",
              "id": "26",
              "target": [
                {
                  "reference": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/25"
                }
              ],
              "meta": {
                "source": "#b505a71c-28f4-45",
                "lastUpdated": "2024-06-17T05:41:36.791+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
                ],
                "versionId": "1"
              },
              "agent": [
                {
                  "who": {
                    "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
                  }
                }
              ],
              "policy": [
                "http://ehealth.sundhed.dk/policy/ehealth/coherent-submitted-measurement"
              ],
     resource": {
        "resourceType": "Bundle",
        "recordedid": "2024-06-01T07:41:36.772+02:00"2666bbd6-1c51-418a-a32c-ac915dfef6a3",
        "type": "collection",
  }           },"entry": [
          {
            "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/2527",
            "resource": {
              "resourceType": "Observation",
              "effectivePeriod": {
                "end": "2024-06-17T07:41:36+02:00",
                "start": "2024-06-17T07:41:36+02:00"
              },
              "code": {
                "coding": [
                  {
                    "system": "urn:oid:1.2.208.176.2.1",
                    "code": "NPU03011"
                  }
                ]
              },
              "performer": [
                {
                  "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
                }
              ],
              "status": "final",
              "device": {
                "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/482382050"
              },
              "id": "2527",
              "extension": [
                {
                  "valueReference": {
                    "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/9507165152"
                  },
                  "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
                },
                {
                  "extension": [
                    {
                      "valueId": "42",
                      "url": "serviceRequestVersionId"
                    },
                    {
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
                            "code": "Adhoc"
                          }
                        ]
                      },
                      "url": "type"
                    }
                  ],
                  "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
                }
              ],
              "subject": {
                "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
              },
              "meta": {
                "source": "#589f2ffe#b7bbebca-7597a50c-4c43",
                "lastUpdated": "2024-06-17T05:41:36.675956+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
                ],
                "versionId": "1"
              },
              "basedOn": [
                {
                  "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/44178"
 
              },
              ]"basedOn": [
           }     {
     }         ]    "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/82641"
 }     },     {     }
 "fullUrl": "2233f5a6-1d86-436d-9b24-0a1b29082160",       "resource": {    ]
    "resourceType": "Bundle",         "id": "2233f5a6-1d86-436d-9b24-0a1b29082160",}
        "type": "collection", }
       "entry": []
      }
   { },
    {
      "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Provenance/24",
     b515e3be-13f3-4eed-8067-83743581781f",
      "resource": {

             "resourceType": "ProvenanceBundle",
              "id": "24",
    b515e3be-13f3-4eed-8067-83743581781f",
         "targettype": ["collection",
        "entry": [
      {    {
              "referencefullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/2325",
            "resource": {
  }               ]"resourceType": "Observation",
              "metaeffectivePeriod": {
                "sourceend": "#c321fda62024-1f04-4506-17T07:41:36+02:00",
                "lastUpdatedstart": "2024-06-17T0517T07:41:36.550+0002:00"
              },
              "code": {
                "profilecoding": [
                  {
                "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"    "system": "urn:oid:1.2.208.176.2.1",
                ],    "code": "NPU03011"
            "versionId": "1"     }
         },       ]
       "agent": [      },
          {    "performer": [
             "who": {  {
                  "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
                  }
              ],
 }               ]"status": "final",
              "policydevice": [{
                "reference": "httphttps://device.local.ehealth.sundhed.dk/policyfhir/ehealth/coherent-submitted-measurementDevice/48238"
              ]},
              "recordedid": "2024-05-31T07:41:36.480+02:00"25",
            }  "extension": [
       },           {
    
       "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/23",             "resourcevalueReference": {
              "resourceType": "Observation",               "effectivePeriod": {"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/95071"
                 "end": "2024-06-17T07:41:36+02:00", },
                  "starturl": "2024-06-17T07:41:36+02:00http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
                },
               "code": {
                  "codingextension": [
                    {
                      "systemvalueId": "urn:oid:1.2.208.176.2.142",
                      "codeurl": "NPU03011serviceRequestVersionId"
                  }  },
              ]      {
        },               "performervalueCodeableConcept": [{
                {        "coding": [
         "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"                {
}               ],               "statussystem": "final",http://ehealth.sundhed.dk/cs/resolved-timing-type",
                            "devicecode": {"Adhoc"
                "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/66978"         }
     },               "id": "23",   ]
           "extension": [             },
   {                   "valueReferenceurl": {"type"
                    "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/55315"}
                  }],
                  "url": "http://hl7ehealth.sundhed.orgdk/fhir/StructureDefinition/workflowehealth-resolved-episodeOfCaretiming"
                },
              ],
             { "subject": {
                "extensionreference": ["https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
              },
      {        "meta": {
                "valueIdsource": "42#589f2ffe-7597-4c",
     
                "urllastUpdated": "serviceRequestVersionId"2024-06-17T05:41:36.675+00:00",
                "profile": [
  },                "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
    {            ],
           "valueCodeableConcept": {    "versionId": "1"
              },
    "coding": [         "basedOn": [
                {
                            "system"reference": "httphttps://careplan.local.ehealth.sundhed.dk/cs/resolved-timing-type",fhir/ServiceRequest/44178"
                }
           "code": "Adhoc"   ]
            }
          }
        ]
      }
    },
   ] {
                     }"fullUrl": "2233f5a6-1d86-436d-9b24-0a1b29082160",
          "resource": {
           "urlresourceType": "typeBundle",
              "id": "2233f5a6-1d86-436d-9b24-0a1b29082160",
     }   "type": "collection",
        "entry": [
    ],      {
            "urlfullUrl": "httphttps://measurement.local.ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
Observation/23",
            "resource": {
               }"resourceType": "Observation",
              ],"effectivePeriod": {
                "subjectend": {"2024-06-17T07:41:36+02:00",
                "referencestart": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/81002024-06-17T07:41:36+02:00"
              },
              "metacode": {
                "sourcecoding": "#eba350f6-e680-40", [
                  {
  "lastUpdated": "2024-06-17T05:41:36.301+00:00",                 "profilesystem": [ "urn:oid:1.2.208.176.2.1",
                    "code"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation: "NPU03011"
                ],  }
               "versionId": "1" ]
              },
              "basedOnperformer": [
                {
                  "reference": "https://careplanpatient.local.ehealth.sundhed.dk/fhir/ServiceRequestPatient/528208100"
                }
              ],
              "status": "final",
              "device": {
}           }     "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/66978"
  ]       }     },
    {          "fullUrlid": "3624c79a-1647-4ea3-97ef-9c153a5ea21023",
      "resource": {         "resourceTypeextension": "Bundle",[
            "id": "3624c79a-1647-4ea3-97ef-9c153a5ea210",    {
        "type": "collection",         "entryvalueReference": [
  {
       {             "fullUrlreference": "https://measurementcareplan.local.ehealth.sundhed.dk/fhir/ProvenanceEpisodeOfCare/2255315",
            "resource": {     },
         "resourceType": "Provenance",
              "idurl": "22",http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
               "target": [ },
                {
                  "referenceextension": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/21"[
                }      {
        ],               "metavalueId": {"42",
                "source": "#92e3dc36-5881-46",
                "lastUpdatedurl": "2024-06-17T05:41:36.180+00:00",serviceRequestVersionId"
                "profile": [         },
         "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"           {
     ],                 "versionIdvalueCodeableConcept": "1"
   {
          },               "agentcoding": [
                {          {
        "who": {
                    "referencesystem": "httpshttp://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"cs/resolved-timing-type",
                  }          "code": "Adhoc"
     }                     ],}
              "policy": [         ]
       "http://ehealth.sundhed.dk/policy/ehealth/coherent-submitted-measurement"               ],},
                      "recordedurl": "2024-05-30T07:41:36.163+02:00"
  type"
         }           },
          {        ],
    "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/21",               "resourceurl": {"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
              "resourceType": "Observation", }
             "effectivePeriod": { ],
                "endsubject": "2024-06-17T07:41:35+02:00",{
                "startreference": "2024-06-17T07:41:35+02:00https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
              },
              "codemeta": {
                "codingsource": ["#eba350f6-e680-40",
                  {
"lastUpdated": "2024-06-17T05:41:36.301+00:00",
                   "systemprofile": "urn:oid:1.2.208.176.2.1",[
                    "code": "NPU03011""http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
                ],
  }                 ]"versionId": "1"
              },
              "performerbasedOn": [
                {
                  "reference": "https://patientcareplan.local.ehealth.sundhed.dk/fhir/PatientServiceRequest/810052820"
                }
              ],
            }
 "status": "final",        }
      "device": { ]
      }
    },
   "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/65032" {
      "fullUrl": "3624c79a-1647-4ea3-97ef-9c153a5ea210",
      },
   "resource": {
          "idresourceType": "21Bundle",
    
         "extensionid": ["3624c79a-1647-4ea3-97ef-9c153a5ea210",
        "type": "collection",
      {      "entry": [
            "valueReference": {
                    "reference"fullUrl": "https://careplanmeasurement.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72530"
   Observation/21",
              },
  "resource": {
               "urlresourceType": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"Observation",
              "effectivePeriod": {
},                 {"end": "2024-06-17T07:41:35+02:00",
                  "extensionstart": ["2024-06-17T07:41:35+02:00"
              },
     {         "code": {
            "valueId": "42",   "coding": [
                  "url": "serviceRequestVersionId"{
                     }"system": "urn:oid:1.2.208.176.2.1",
                    {
"code": "NPU03011"
                  }
  "valueCodeableConcept": {             ]
           "coding": [  },
              "performer": [
        {        {
                    "systemreference": "httphttps:///patient.local.ehealth.sundhed.dk/fhir/cs/resolved-timing-type",Patient/8100"
                }
           "code": "Adhoc"  ],
              "status": "final",
        }      "device": {
                 ]"reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/65032"
              },
       },       "id": "21",
              "urlextension": "type"[
                {
   }               "valueReference":  {
 ],                   "urlreference": "httphttps://careplan.local.ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timingEpisodeOfCare/72530"
                  },
                  ],"url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
                },
    "subject": {           {
     "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"             "extension": [
    },               "meta": {
                      "sourcevalueId": "#f0aede18-939d-4042",
                      "lastUpdatedurl": "2024-06-17T05:41:36.072+00:00",serviceRequestVersionId"
                    },
 "profile": [                   {
  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"                  ],  "valueCodeableConcept": {
             "versionId": "1"          "coding": [
   },               "basedOn": [       {
         {                   "referencesystem": "httpshttp://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/4423"
 cs/resolved-timing-type",
                            "code": "Adhoc"
              }            }
  ]             }         ]
 }         ]       }     },
       {       "fullUrl": "c9afae18-c908-4f2a-a0e7-b9b487195fc4",       "resourceurl": {"type"
        "resourceType": "Bundle",         "id": "c9afae18-c908-4f2a-a0e7-b9b487195fc4",
 }
       "type": "collection",         "entry": [ ],
          {             "fullUrlurl": "httpshttp://measurement.local.ehealth.sundhed.dk/fhir/Provenance/20",
StructureDefinition/ehealth-resolved-timing"
           "resource": {         }
     "resourceType": "Provenance",               "id": "20"],
              "targetsubject": [
                {
                  "reference": "https://measurementpatient.local.ehealth.sundhed.dk/fhir/Observation/19"
          fhir/Patient/8100"
     }               ]},
              "meta": {
                "source": "#9c9c8c39#f0aede18-fe5d939d-4d40",
                "lastUpdated": "2024-06-17T05:41:3536.953072+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenanceobservation"
                ],
                "versionId": "1"
              },
              "agentbasedOn": [
                {
                  "who": {
                    "reference": "https://patientcareplan.local.ehealth.sundhed.dk/fhir/PatientServiceRequest/81004423"
                }
 }             ]
        }    }
          ],}
        ]
     "policy": [}
    },
    {
      "fullUrl"http://ehealth.sundhed.dk/policy/ehealth/coherent-submitted-measurement": "c9afae18-c908-4f2a-a0e7-b9b487195fc4",
         "resource": {
    ],    "resourceType": "Bundle",
         "recordedid": "2024-05-28T07:41:35.898+02:00"c9afae18-c908-4f2a-a0e7-b9b487195fc4",
        "type": "collection",
  }           },"entry": [
          {
            "fullUrl": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/19",
            "resource": {
              "resourceType": "Observation",
              "effectivePeriod": {
                "end": "2024-06-17T07:41:35+02:00",
                "start": "2024-06-17T07:41:35+02:00"
              },
              "code": {
                "coding": [
                  {
                    "system": "urn:oid:1.2.208.176.2.1",
                    "code": "NPU03011"
                  }
                ]
              },
              "performer": [
                {
                  "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
                }
              ],
              "status": "final",
              "device": {
                "reference": "https://device.local.ehealth.sundhed.dk/fhir/Device/34570"
              },
              "id": "19",
              "extension": [
                {
                  "valueReference": {
                    "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/5775"
                  },
                  "url": "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
                },
                {
                  "extension": [
                    {
                      "valueId": "42",
                      "url": "serviceRequestVersionId"
                    },
                    {
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://ehealth.sundhed.dk/cs/resolved-timing-type",
                            "code": "Adhoc"
                          }
                        ]
                      },
                      "url": "type"
                    }
                  ],
                  "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-resolved-timing"
                }
              ],
              "subject": {
                "reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/8100"
              },
              "meta": {
                "source": "#a124fe94-2f0d-43",
                "lastUpdated": "2024-06-17T05:41:35.785+00:00",
                "profile": [
                  "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation"
                ],
                "versionId": "1"
              },
              "basedOn": [
                {
                  "reference": "https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/35457"
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

...