{ "description": "WIP", "_filename": "StructureDefinition-MaEncounterBesuch.json", "package_name": "ma.ambulanter.fall", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "MaEncounterBesuch", "abstract": false, "type": "Encounter", "experimental": null, "resourceType": "StructureDefinition", "title": "WIP: Ambulanter Besuch", "package_version": "1.0.3", "status": "draft", "id": "3b920335-4878-4014-8384-e25b35ac3ebd", "kind": "resource", "url": "http://ma-ambulant.de/StructureDefinition/MaEncounterBesuch", "version": null, "differential": { "element": [ { "id": "Encounter", "path": "Encounter", "constraint": [ { "key": "mii-enc-1", "human": "Falls der Encounter abgeschlossen wurde, MUSS ein Enddatum bekannt sein", "source": "http://ma-ambulant.de/StructureDefinition/MaEncounterBesuch", "severity": "error", "expression": "status = 'finished' implies period.end.exists()" } ] }, { "id": "Encounter.identifier", "min": 1, "path": "Encounter.identifier", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Encounter.identifier:Aufnahmenummer", "max": "1", "min": 0, "path": "Encounter.identifier", "sliceName": "Aufnahmenummer", "mustSupport": true, "patternIdentifier": { "type": { "coding": [ { "code": "VN", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] } } }, { "id": "Encounter.identifier:Aufnahmenummer.type", "min": 1, "path": "Encounter.identifier.type", "mustSupport": true }, { "id": "Encounter.identifier:Aufnahmenummer.type.coding", "min": 1, "path": "Encounter.identifier.type.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Encounter.identifier:Aufnahmenummer.type.coding:vn-type", "max": "1", "min": 1, "path": "Encounter.identifier.type.coding", "sliceName": "vn-type", "mustSupport": true, "patternCoding": { "code": "VN", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } }, { "id": "Encounter.identifier:Aufnahmenummer.type.coding:vn-type.system", "min": 1, "path": "Encounter.identifier.type.coding.system", "mustSupport": true }, { "id": "Encounter.identifier:Aufnahmenummer.type.coding:vn-type.code", "min": 1, "path": "Encounter.identifier.type.coding.code", "mustSupport": true }, { "id": "Encounter.identifier:Aufnahmenummer.system", "path": "Encounter.identifier.system", "mustSupport": true }, { "id": "Encounter.identifier:Aufnahmenummer.value", "path": "Encounter.identifier.value", "mustSupport": true }, { "id": "Encounter.status", "path": "Encounter.status", "mustSupport": true }, { "id": "Encounter.class", "path": "Encounter.class", "mustSupport": true }, { "id": "Encounter.type", "min": 1, "path": "Encounter.type", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Encounter.type:Kontaktebene", "max": "1", "min": 1, "path": "Encounter.type", "binding": { "strength": "required", "valueSet": "http://fhir.de/ValueSet/kontaktebene-de" }, "sliceName": "Kontaktebene", "mustSupport": true }, { "id": "Encounter.subject", "min": 1, "path": "Encounter.subject", "mustSupport": true }, { "id": "Encounter.basedOn", "path": "Encounter.basedOn", "mustSupport": true }, { "id": "Encounter.participant", "path": "Encounter.participant", "mustSupport": true }, { "id": "Encounter.period", "path": "Encounter.period", "mustSupport": true }, { "id": "Encounter.period.start", "min": 1, "path": "Encounter.period.start", "mustSupport": true }, { "id": "Encounter.diagnosis", "path": "Encounter.diagnosis", "mustSupport": true }, { "id": "Encounter.diagnosis.condition", "path": "Encounter.diagnosis.condition", "mustSupport": true }, { "id": "Encounter.diagnosis.use", "path": "Encounter.diagnosis.use", "mustSupport": true }, { "id": "Encounter.diagnosis.use.coding", "min": 1, "path": "Encounter.diagnosis.use.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Encounter.diagnosis.use.coding:Diagnosetyp", "max": "1", "min": 1, "path": "Encounter.diagnosis.use.coding", "binding": { "strength": "required", "valueSet": "http://fhir.de/ValueSet/DiagnoseTyp" }, "sliceName": "Diagnosetyp", "mustSupport": true }, { "id": "Encounter.account", "max": "1", "min": 1, "path": "Encounter.account", "type": [ { "code": "Reference", "targetProfile": [ "http://ma-ambulant.de/StructureDefinition/MaAccountSchein", "http://hl7.org/fhir/StructureDefinition/Account" ] } ], "mustSupport": true }, { "id": "Encounter.account.identifier", "min": 1, "path": "Encounter.account.identifier", "mustSupport": true }, { "id": "Encounter.account.identifier.system", "min": 1, "path": "Encounter.account.identifier.system", "mustSupport": true }, { "id": "Encounter.account.identifier.value", "min": 1, "path": "Encounter.account.identifier.value", "mustSupport": true }, { "id": "Encounter.serviceProvider", "min": 1, "path": "Encounter.serviceProvider", "type": [ { "code": "Reference", "targetProfile": [ "http://ma-ambulant.de/StructureDefinition/MaOrganizationAmbulanz", "http://hl7.org/fhir/StructureDefinition/Organization" ] } ], "mustSupport": true }, { "id": "Encounter.serviceProvider.identifier", "min": 1, "path": "Encounter.serviceProvider.identifier", "mustSupport": true }, { "id": "Encounter.serviceProvider.display", "min": 1, "path": "Encounter.serviceProvider.display", "mustSupport": true } ] }, "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_Encounter" }