PackagesCanonicalsLogsProblems
    Packages
    SFM.030521@1.0.0
    http://ehelse.no/fhir/StructureDefinition/sfm-MedicationBundle
{
  "description": "Profile on Bundle for use as container for medications and prescription data in SFM API Basis",
  "_filename": "SfmMedicationBundle.StructureDefinition.json",
  "package_name": "SFM.030521",
  "date": "2021-05-01",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.0",
  "purpose": "The purpose of this profile on Bundle is to contain the structure of the service-calls provided by the SFM API Basis",
  "name": "SfmMedicationBundle",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "Bundle",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "sfm-MedicationBundle",
  "package_version": "1.0.0",
  "status": "active",
  "id": "da91373b-280e-48c6-8e17-2f41f6866d4d",
  "kind": "resource",
  "url": "http://ehelse.no/fhir/StructureDefinition/sfm-MedicationBundle",
  "version": "1.0",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle",
      "short": "Contains a collection of Medication resources",
      "definition": "A container for a collection of Medication and prescription resources for the SFM API Basis."
    }, {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "short": "document",
      "comment": "Norwegian profile on Bundle to serve service oriented transactions for e-resept on FHIR",
      "fixedCode": "document",
      "definition": "This bundle is a document intedet to contain the strucured data read from or written to SFM API Basis. Closely connected to SfmMedicationComposition"
    }, {
      "id": "Bundle.total",
      "max": "0",
      "path": "Bundle.total"
    }, {
      "id": "Bundle.link",
      "max": "0",
      "path": "Bundle.link"
    }, {
      "id": "Bundle.entry",
      "path": "Bundle.entry",
      "slicing": {
        "rules": "open",
        "description": "First entry will always be the SfmMedicationComposition. All other entries will be resources referred from this",
        "discriminator": [ {
          "path": "resource.meta.profile",
          "type": "value"
        } ]
      }
    }, {
      "id": "Bundle.entry:SfmMedicationComposition",
      "max": "1",
      "min": 1,
      "path": "Bundle.entry",
      "short": "First entry is a SfmMedicationComposition",
      "comment": "This Composition entry serves as a directory for the document Bundle",
      "sliceName": "SfmMedicationComposition",
      "definition": "First entry in Bundle of type \"document\" is always a Composition"
    }, {
      "id": "Bundle.entry:SfmMedicationComposition.resource",
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://ehelse.no/fhir/StructureDefinition/sfm-MedicationComposition" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}