Skip to content

Commit

Permalink
Merge pull request #47 from 8400TheHealthNetwork/Kippi-shotef
Browse files Browse the repository at this point in the history
Kippi shotef
  • Loading branch information
amosref authored May 30, 2024
2 parents 61fc502 + 260c22a commit 8eaf83f
Show file tree
Hide file tree
Showing 12 changed files with 69 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ ILCore/_updatePublisher.sh
ILCore/_gencontinuous.bat
ILCore/_updatePublisher.sh
ILCore/_updatePublisher.bat
Files to add later on
1 change: 1 addition & 0 deletions ILCore/input/fsh/Aliases-fsh.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Alias: $ILVitalSigns = http://fhir.health.gov.il/StructureDefin

// IDs & licenses
Alias: $il-id = http://fhir.health.gov.il/identifier/il-national-id
Alias: $visa-num = http://fhir.health.gov.il/identifier/il-visa-num
Alias: $pna-id = http://fhir.health.gov.il/identifier/pna-national-id
Alias: $idf-sn = http://fhir.health.gov.il/identifier/idf-service-number
Alias: $prisoner-id = http://fhir.health.gov.il/identifier/il-prisoner-number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Description: "Extension: Movement Sequence-Number"
* ^status = #draft
* ^context.type = #element
* ^context.expression = "Encounter.hospitalization"
* value[x] only positiveInt
* valuePositiveInt 1..1
* value[x] only string
* valueString 1..1
2 changes: 1 addition & 1 deletion ILCore/input/fsh/Invariants.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Invariant: idf-num
Description: "7 or 8 digit prisoner number"
Severity: #error
Expression:
"matches('^\\d{7,8}$')"
"matches('^[0-9]{7,8}$')"

// TEMP ////////////////////////
Invariant: us-core-6
Expand Down
14 changes: 13 additions & 1 deletion ILCore/input/fsh/Profiles/IL-Core-Patient.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Description: "Israel Core Proposed constraints and extensions on the Patient Res
ppn 0..* and
// idf-sn 0..1 and
prisoner-id 0..1 and
enc 0..*
enc 0..* and
visa-num 0..*
// ppn-no-system 0..*

* identifier[il-id] ^short = "Israeli National Identifier"
Expand Down Expand Up @@ -128,6 +129,17 @@ Description: "Israel Core Proposed constraints and extensions on the Patient Res
* identifier[enc].value ^example.label = "Valid Example"
* identifier[enc].assigner only Reference(ILCoreOrganization)

* identifier[visa-num] ^short = "Israeli Temporary Visa number"
* identifier[visa-num] ^definition = "Israeli Temporary Visa number"
* identifier[visa-num] ^mustSupport = true
* identifier[visa-num].value 1..1 MS
* identifier[visa-num].value ^short = "An Israeli Visa Number"
* identifier[visa-num].system 1..1 MS
* identifier[visa-num].system = $visa-num (exactly)
* identifier[visa-num].value ^example.valueString = "000000018"
* identifier[visa-num].value ^example.label = "Valid Example"
* identifier[visa-num].assigner only Reference(ILCoreOrganization)

//address
* address only ILCoreAddress
* address 0..*
Expand Down
4 changes: 2 additions & 2 deletions ILCore/input/fsh/Profiles/IL-Core-PractitionerRole.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Description: "Israel Core proposed constraints and extensions on the Practitione
* . ^definition = "Israel Core proposed constraints and extensions on the practitionerrole resource profile."
* . ^isModifier = false
* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"
* ^extension[=].valueCode = #trial-use
* ^extension[=].valueCode = #draft
* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"
* ^extension[=].valueInteger = 1
* ^extension[=].valueInteger = 0


* practitioner only Reference(ILCorePractitioner)
Expand Down
4 changes: 2 additions & 2 deletions ILCore/input/fsh/Profiles/IL-Core-Specimen.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Description: "Israel Core proposed constraints and extensions on the Specimen Re
* . ^definition = "Israel Core proposed constraints and extensions on the Specimen resource profile."
* . ^isModifier = false
* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"
* ^extension[=].valueCode = #draft
* ^extension[=].valueCode = #trail-use
* ^extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"
* ^extension[=].valueInteger = 0
* ^extension[=].valueInteger = 1


* extension contains
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: "Codes for medications according to ILCore catalogue"
* ^version = "0.14.2"
* ^experimental = false

* include codes from system $moh-medication-code
// * include codes from system $moh-medication-code
* include codes from system $sct
* include codes from system $atc
* include codes from system http://www.nlm.nih.gov/research/umls/rxnorm
Expand Down
6 changes: 3 additions & 3 deletions ILCore/input/fsh/ValueSets/ValueSet-israel-hmo.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ Description: "A code classifying Health Management Organizations"
* $payer#104 ^designation.value = "מאוחדת"
* $payer#401 "צה\"ל"
* $payer#402 "משרד הבטחון"
* $payer#104 ^designation.language = #he
* $payer#104 ^designation.use = $sct#900000000000013009 "Synonym"
* $payer#104 ^designation.value = "משהב\"ט"
* $payer#402 ^designation.language = #he
* $payer#402 ^designation.use = $sct#900000000000013009 "Synonym"
* $payer#402 ^designation.value = "משהב\"ט"
* $payer#480 "רשות פלסטינאית"
* $payer#480 ^designation.language = #he
* $payer#480 ^designation.use = $sct#900000000000013009 "Synonym"
Expand Down
21 changes: 21 additions & 0 deletions ILCore/input/fsh/_Examples/MedicationDispense-exmaple.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Instance: medication-dispense
InstanceOf: ILCoreMedicationDispense
Title: "Example ILCore MedicationDispense"
Description: "An example instance of the ILCore MedicationDispense profile."

* status = #completed
* category = $il-core-medication-category#community-hmo "Community Care/HMO"
* medicationReference = Reference(paracetamol)
* subject = Reference(patient-israeli-with-statistical-area)
* performer.actor = Reference(practitioner-md)
* authorizingPrescription = Reference(metamizole-for-gangreenous-tonsolitis)
* type = http://terminology.hl7.org/CodeSystem/v3-ActCode#RFP "Refill - Part Fill"
* quantity = 10 'tablet'
* whenHandedOver = "2024-05-21T14:30:00Z"
* dosageInstruction[0].sequence = 1
* dosageInstruction[0].text = "Take one tablet daily"
* dosageInstruction[0].timing.repeat.frequency = 1
* dosageInstruction[0].timing.repeat.period = 1
* dosageInstruction[0].timing.repeat.periodUnit = #d
* dosageInstruction[0].doseAndRate[0].doseQuantity = 1 'tablet'
* extension[recorded].valueDateTime = "2024-05-21T14:00:00Z"
22 changes: 22 additions & 0 deletions ILCore/input/fsh/_Examples/RelatedPerson-example.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Instance: example-related-person
InstanceOf: ILCoreRelatedPerson
Title: "Example ILCore RelatedPerson"
Description: "An example instance of the ILCore RelatedPerson profile."

* extension[parentName].extension[given].valueString = "John Doe Sr."
* identifier[il-id].system = $il-id
* identifier[il-id].value = "000000018"
* active = true
* patient = Reference(patient-with-hebrew-date)
* relationship[0].coding[0] = $v3-RoleCode#GUARD "Guardian"
* name[0].family = "Doe"
* name[0].given[0] = "John"
* name[0].use = #official
* telecom[0].system = #phone
* telecom[0].value = "+1-555-555-5555"
* telecom[0].use = #mobile
* address[0].line[0] = "123 Main St"
* address[0].city = "Somewhere"
* address[0].state = "CA"
* address[0].postalCode = "90210"
* address[0].country = "USA"
13 changes: 0 additions & 13 deletions ILCore/input/fsh/codeSystems/CodeSystem-moh-medication-code .fsh

This file was deleted.

0 comments on commit 8eaf83f

Please sign in to comment.