mmerlijn / msg-repo
Dutch healthcare read/write edifact to/from repository
Installs: 1 103
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
pkg:composer/mmerlijn/msg-repo
Requires
- php: ^8.1
- nesbot/carbon: ^3.8.4
Requires (Dev)
- larapack/dd: ^1.1
- pestphp/pest: 4.x-dev
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0
- dev-master / 2.x-dev
- v2.8.5
- v2.8.4
- v2.8.3
- v2.8.2
- v2.8.1
- v2.8
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7
- v2.6
- v2.5
- v2.4
- v2.3
- v2.2
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1
- v1.41
- v1.40
- v1.39
- v1.38
- v1.37
- v1.36
- v1.35
- v1.34
- v1.33
- v1.32
- v1.31
- v1.30
- v1.29
- v1.26
- v1.25
- v1.24
- v1.23
- v1.22
- v1.21
- v1.20
- v1.19
- v1.18
- v1.17
- v1.16
This package is auto-updated.
Last update: 2025-11-13 21:00:40 UTC
README
Repository to store healthcare data V3
installation
composer require mmerlijn/msg-repo
Order helpers
$order->addComment("comment")->addComment("Comment 2"); $order->addRequest($request)->addRequest($otherRequest); $order->addResult($result); $patient->setName($name) ->setAddress($address) ->setPhone("0612341234"); $order->getRequestedTestcodes(); //return all requested testcodes as array $order->filterTestCodes(string|array); //filters requests and results with given test_code
Repo to array
$msg->toArray();
Compact array (empty values are removed)
$msg->toArray(true);
Form array to repo
$msg = new Msg(...$array); //or $msg = (new Msg)->fromArray($array);
Repository tree
array:10 [ "patient" => array:12 [ "sex" => "" "name" => array:9 [ "initials" => "" "firstname" => "" "lastname" => "" "prefix" => "" "own_lastname" => "" "own_prefix" => "" "name" => "" "sex" => "" "salutation" => "" ] "dob" => null "bsn" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] "address2" => null "phones" => [] "insurance" => array:5 [ "uzovi" => "" "policy_nr" => "" "company_name" => "" "phone" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] ] "ids" => [] "last_requester" => "" "email" => null "gp" => "" ] "order" => array:20 [ "control" => "NEW" "request_nr" => "" "lab_nr" => "" "complete" => true "priority" => false "start_date" => null "order_status" => "F" "where" => "" "requester" => array:11 [ "agbcode" => "" "name" => array:9 [ "initials" => "" "firstname" => "" "lastname" => "" "prefix" => "" "own_lastname" => "" "own_prefix" => "" "name" => "" "sex" => "" "salutation" => "" ] "source" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] "phone" => "" "type" => "" "organisation" => array:6 [ "name" => "" "department" => "" "short" => "" "agbcode" => null "source" => null "phone" => "" ] "application" => "" "device" => "" "facility" => "" "location" => "" ] "copy_to" => array:11 [ "agbcode" => "" "name" => array:9 [ "initials" => "" "firstname" => "" "lastname" => "" "prefix" => "" "own_lastname" => "" "own_prefix" => "" "name" => "" "sex" => "" "salutation" => "" ] "source" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] "phone" => "" "type" => "" "organisation" => array:6 [ "name" => "" "department" => "" "short" => "" "agbcode" => null "source" => null "phone" => "" ] "application" => "" "device" => "" "facility" => "" "location" => "" ] "entered_by" => array:11 [ "agbcode" => "" "name" => array:9 [ "initials" => "" "firstname" => "" "lastname" => "" "prefix" => "" "own_lastname" => "" "own_prefix" => "" "name" => "" "sex" => "" "salutation" => "" ] "source" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] "phone" => "" "type" => "" "organisation" => array:6 [ "name" => "" "department" => "" "short" => "" "agbcode" => null "source" => null "phone" => "" ] "application" => "" "device" => "" "facility" => "" "location" => "" ] "organisation" => array:6 [ "name" => "" "department" => "" "short" => "" "agbcode" => null "source" => null "phone" => "" ] "dt_of_request" => null "dt_of_observation" => null "dt_of_observation_end" => null "dt_of_analysis" => null "results" => [] "requests" => [] "comments" => [] "admit_reason" => array:3 [ "code" => "" "name" => "" "source" => "" ] ] "sender" => array:11 [ "agbcode" => "" "name" => array:9 [ "initials" => "" "firstname" => "" "lastname" => "" "prefix" => "" "own_lastname" => "" "own_prefix" => "" "name" => "" "sex" => "" "salutation" => "" ] "source" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] "phone" => "" "type" => "" "organisation" => array:6 [ "name" => "" "department" => "" "short" => "" "agbcode" => null "source" => null "phone" => "" ] "application" => "" "device" => "" "facility" => "" "location" => "" ] "receiver" => array:11 [ "agbcode" => "" "name" => array:9 [ "initials" => "" "firstname" => "" "lastname" => "" "prefix" => "" "own_lastname" => "" "own_prefix" => "" "name" => "" "sex" => "" "salutation" => "" ] "source" => "" "address" => array:8 [ "postcode" => "" "city" => "" "street" => "" "building" => "" "building_nr" => "" "building_addition" => "" "country" => "NL" "postbus" => "" ] "phone" => "" "type" => "" "organisation" => array:6 [ "name" => "" "department" => "" "short" => "" "agbcode" => null "source" => null "phone" => "" ] "application" => "" "device" => "" "facility" => "" "location" => "" ] "datetime" => "2025-11-13 19:20:49" "msgType" => array:5 [ "type" => "" "trigger" => "" "structure" => "" "version" => "" "charset" => "8859/1" ] "id" => "" "security_id" => "" "processing_id" => "" "comments" => [] ]