[Satu Sehat API] #33

Open
opened 2023-12-15 14:07:37 +07:00 by sindhu · 0 comments
Owner
  1. Specimen
    lokasi file di devone : /home/one/project/one/one-api/application/controllers/satu_sehat/Specimensatusehat.php

nama fungsi : getspesimen
contoh api
http://devone.aplikasi.web.id/one-api/satu_sehat/specimensatusehat/getspesimen?orderheaderID=132017

atau body json

{
  "orderheaderID":"132017"
}

hasil json

[
  {
    "fullUrl": "urn:uuid:9cfd1638-1fbc-48a0-9219-a3006651a5e8",
    "resource": {
      "resourceType": "Specimen",
      "identifier": [
        {
          "system": "http://sys-ids.kemkes.go.id/specimen/1000001",
          "value": "513239",
          "assigner": {
            "reference": "Organization/1000001"
          }
        }
      ],
      "status": "available",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0487",
            "code": "119364003",
            "display": "Serum"
          }
        ]
      },
      "collection": {
        "method": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "129316008",
              "display": "Aspiration - action"
            }
          ]
        },
        "collectedDateTime": "2023-12-13T11:21:45+00:00"
      },
      "subject": {
        "reference": "Patient/2",
        "display": "CHRISTIAN HERNANDO KOSBIANTORO"
      },
      "request": [
        {
          "reference": null
        }
      ],
      "receivedTime": "2023-12-13T11:21:43+00:00"
    },
    "request": {
      "method": "POST",
      "url": "Specimen"
    }
  },
  {
    "fullUrl": "urn:uuid:e523edf6-ee83-4719-a534-67f6baa6dd7f",
    "resource": {
      "resourceType": "Specimen",
      "identifier": [
        {
          "system": "http://sys-ids.kemkes.go.id/specimen/1000001",
          "value": "513239",
          "assigner": {
            "reference": "Organization/1000001"
          }
        }
      ],
      "status": "available",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v2-0487",
            "code": "119364003",
            "display": "Serum"
          }
        ]
      },
      "collection": {
        "method": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "129316008",
              "display": "Aspiration - action"
            }
          ]
        },
        "collectedDateTime": "2023-12-13T11:21:45+00:00"
      },
      "subject": {
        "reference": "Patient/2",
        "display": "CHRISTIAN HERNANDO KOSBIANTORO"
      },
      "request": [
        {
          "reference": null
        }
      ],
      "receivedTime": "2023-12-13T11:21:43+00:00"
    },
    "request": {
      "method": "POST",
      "url": "Specimen"
    }
  }
]
1. Specimen **lokasi file** di devone : /home/one/project/one/one-api/application/controllers/satu_sehat/Specimensatusehat.php **nama fungsi** : getspesimen contoh api http://devone.aplikasi.web.id/one-api/satu_sehat/specimensatusehat/getspesimen?orderheaderID=132017 atau body json ``` { "orderheaderID":"132017" } ``` **hasil json** ``` [ { "fullUrl": "urn:uuid:9cfd1638-1fbc-48a0-9219-a3006651a5e8", "resource": { "resourceType": "Specimen", "identifier": [ { "system": "http://sys-ids.kemkes.go.id/specimen/1000001", "value": "513239", "assigner": { "reference": "Organization/1000001" } } ], "status": "available", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0487", "code": "119364003", "display": "Serum" } ] }, "collection": { "method": { "coding": [ { "system": "http://snomed.info/sct", "code": "129316008", "display": "Aspiration - action" } ] }, "collectedDateTime": "2023-12-13T11:21:45+00:00" }, "subject": { "reference": "Patient/2", "display": "CHRISTIAN HERNANDO KOSBIANTORO" }, "request": [ { "reference": null } ], "receivedTime": "2023-12-13T11:21:43+00:00" }, "request": { "method": "POST", "url": "Specimen" } }, { "fullUrl": "urn:uuid:e523edf6-ee83-4719-a534-67f6baa6dd7f", "resource": { "resourceType": "Specimen", "identifier": [ { "system": "http://sys-ids.kemkes.go.id/specimen/1000001", "value": "513239", "assigner": { "reference": "Organization/1000001" } } ], "status": "available", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0487", "code": "119364003", "display": "Serum" } ] }, "collection": { "method": { "coding": [ { "system": "http://snomed.info/sct", "code": "129316008", "display": "Aspiration - action" } ] }, "collectedDateTime": "2023-12-13T11:21:45+00:00" }, "subject": { "reference": "Patient/2", "display": "CHRISTIAN HERNANDO KOSBIANTORO" }, "request": [ { "reference": null } ], "receivedTime": "2023-12-13T11:21:43+00:00" }, "request": { "method": "POST", "url": "Specimen" } } ] ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sindhu/belajar#33