PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.core.r6@0.2607.0
    http://health-samurai.io/fhir/core/StructureDefinition/Hl7v2Message
{
  "description": "Incoming or outgoing HL7 v2 message processed by Aidbox.",
  "_filename": "StructureDefinition-Hl7v2Message.json",
  "package_name": "io.health-samurai.core.r6",
  "date": null,
  "derivation": "specialization",
  "publisher": "Health Samurai",
  "fhirVersion": "6.0.0-ballot5",
  "name": "Hl7v2Message",
  "abstract": false,
  "type": "Hl7v2Message",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Hl7v2 Message",
  "package_version": "0.2607.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "valueString": "Integration.HL7v2"
  } ],
  "status": "active",
  "id": "33bfb87a-705f-475a-8f2b-e747c7f6a1cd",
  "kind": "resource",
  "url": "http://health-samurai.io/fhir/core/StructureDefinition/Hl7v2Message",
  "version": "0.2607.0",
  "differential": {
    "element": [ {
      "id": "Hl7v2Message",
      "max": "*",
      "min": 0,
      "path": "Hl7v2Message"
    }, {
      "id": "Hl7v2Message._source",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message._source",
      "type": [ {
        "code": "string"
      } ],
      "short": "System Property. DO NOT USE IT."
    }, {
      "id": "Hl7v2Message.src",
      "max": "1",
      "min": 1,
      "path": "Hl7v2Message.src",
      "type": [ {
        "code": "string"
      } ],
      "short": "Original source text of the HL7v2 message."
    }, {
      "id": "Hl7v2Message.status",
      "max": "1",
      "min": 1,
      "path": "Hl7v2Message.status",
      "type": [ {
        "code": "string"
      } ],
      "short": "Processing status of the message (received, processed, or error).",
      "constraint": [ {
        "key": "enum-4",
        "human": "Status must be one of: received, processed, error",
        "severity": "error",
        "expression": "%context.subsetOf('received' | 'processed' | 'error')"
      } ]
    }, {
      "id": "Hl7v2Message.type",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message.type",
      "type": [ {
        "code": "code"
      } ],
      "short": "Message type code from the HL7v2 message."
    }, {
      "id": "Hl7v2Message.event",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message.event",
      "type": [ {
        "code": "code"
      } ],
      "short": "Event type code from the HL7v2 message."
    }, {
      "id": "Hl7v2Message.apiOperation",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message.apiOperation",
      "type": [ {
        "code": "string"
      } ],
      "short": "API operation to be performed with this message."
    }, {
      "id": "Hl7v2Message.config",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message.config",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/Hl7v2Config" ]
      } ],
      "short": "Reference to the configuration for processing this message."
    }, {
      "id": "Hl7v2Message.parsed",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message.parsed",
      "short": "Parsed content of the HL7v2 message.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    }, {
      "id": "Hl7v2Message.outcome",
      "max": "1",
      "min": 0,
      "path": "Hl7v2Message.outcome",
      "short": "Outcome of message processing.",
      "extension": [ {
        "url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
        "valueCode": "any"
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}