diff --git a/fsh/config.yaml b/fsh/config.yamlNOTUSED similarity index 100% rename from fsh/config.yaml rename to fsh/config.yamlNOTUSED diff --git a/fsh/extensions/extension-informationsource.fsh b/fsh/extensions/extension-informationsource.fshDEP similarity index 100% rename from fsh/extensions/extension-informationsource.fsh rename to fsh/extensions/extension-informationsource.fshDEP diff --git a/fsh/extensions/extension-informationsourceMod.fsh b/fsh/extensions/extension-informationsourceMod.fshDEP similarity index 100% rename from fsh/extensions/extension-informationsourceMod.fsh rename to fsh/extensions/extension-informationsourceMod.fshDEP diff --git a/fsh/package.json b/fsh/package.json index 8308385b..26bdb99b 100644 --- a/fsh/package.json +++ b/fsh/package.json @@ -7,7 +7,7 @@ "description": "The FHIRb API for the NHI", "dependencies": { "hl7.fhir.r4.core": "4.0.1", - "hl7.org.nz.base" : "current" + "hl7.org.nz.base" : "dev" }, "usage-stats-opt-out" : true, "language": "en", diff --git a/fsh/profile-NhiPatient.fsh b/fsh/profile-NhiPatient.fsh index 8c90e5bf..24f7c5e9 100644 --- a/fsh/profile-NhiPatient.fsh +++ b/fsh/profile-NhiPatient.fsh @@ -42,30 +42,14 @@ Description: "The Patient resource exposed by the NHI." $birthPlace named birthPlace 0..1 */ -/* -//identifier. Slice to have current (use=official) and dormant (use=old) -* identifier ^slicing.discriminator.type = #value -* identifier ^slicing.discriminator.path = "use" -* identifier ^slicing.rules = #openAtEnd - -* identifier contains - NHI 0..1 MS and - dormant 0..* MS - -* identifier[NHI].system = "https://standards.digital.health.nz/id/nhi" -* identifier[NHI].use = #official (exactly) -* identifier[dormant].system = "https://standards.digital.health.nz/id/nhi" -* identifier[dormant].use = #old (exactly) - -*/ //Name is required, and there are extensions for source, and isPreferred * name 1..* * name.extension contains $informationsource named informationsource 0..1 and $preferred named preferred 0..1 -* name.extension[informationsource].valueCodeableConcept from https://standards.digital.health.nz/fhir/ValueSet/name-informationsource +* name.extension[informationsource].valueCodeableConcept from http:/hl7.org.nz/fhir/ValueSet/infosource //The gender has an extension for the original text that was used to establish it (eg from a form) * gender.extension contains @@ -75,12 +59,12 @@ Description: "The Patient resource exposed by the NHI." * birthDate 1..1 * birthDate.extension contains $informationsource named informationsource 0..1 -* birthDate.extension[informationsource].valueCodeableConcept from https://standards.digital.health.nz/fhir/ValueSet/birthdate-informationsource +* birthDate.extension[informationsource].valueCodeableConcept from http:/hl7.org.nz/fhir/ValueSet/infosource //date of death has an extension for source, which is bound to the deathdate information source valueset * deceasedDateTime.extension contains $informationsource named informationsource 0..1 -* deceasedDateTime.extension[informationsource].valueCodeableConcept from https://standards.digital.health.nz/fhir/ValueSet/deathdate-informationsource +* deceasedDateTime.extension[informationsource].valueCodeableConcept from http:/hl7.org.nz/fhir/ValueSet/infosource // address is required and has a number of extensions. It uses NhiAddress which takes NzAddress and adds NHI specific extensions... * address only NhiAddress diff --git a/fsh/terminology/AddressNotValidated-cs.fsh b/fsh/terminology/AddressNotValidated-cs.fsh index 9fe70903..8f1451cc 100644 --- a/fsh/terminology/AddressNotValidated-cs.fsh +++ b/fsh/terminology/AddressNotValidated-cs.fsh @@ -3,7 +3,7 @@ Title: "Address Not Validated reason" Description: "The reason why the address was not validated" * ^url = https://standards.digital.health.nz/fhir/ValueSet/addressnotvalidatedreason -* codes from system https://standards.digital.health.nz/cs/addressnotvalidatedreason +* codes from system http://hl7.org.nz/ValueSet/addressnotvalidatedreason CodeSystem: AddressNotValidated Title: "Address Not Validated reason" diff --git a/fsh/terminology/Informationsource.fsh b/fsh/terminology/Informationsource.fshDEP similarity index 100% rename from fsh/terminology/Informationsource.fsh rename to fsh/terminology/Informationsource.fshDEP diff --git a/fsh/terminology/citizenship.fsh b/fsh/terminology/citizenship.fshDEP similarity index 100% rename from fsh/terminology/citizenship.fsh rename to fsh/terminology/citizenship.fshDEP diff --git a/fsh/terminology/dhb.fsh b/fsh/terminology/dhb.fshDEP similarity index 100% rename from fsh/terminology/dhb.fsh rename to fsh/terminology/dhb.fshDEP diff --git a/fsh/terminology/domicilecode.fsh b/fsh/terminology/domicilecode.fshDEP similarity index 100% rename from fsh/terminology/domicilecode.fsh rename to fsh/terminology/domicilecode.fshDEP diff --git a/fsh/terminology/ethnicity.fsh b/fsh/terminology/ethnicity.fshDEP similarity index 100% rename from fsh/terminology/ethnicity.fsh rename to fsh/terminology/ethnicity.fshDEP diff --git a/input/ImplementationGuide-hl7.org.nz.nhi.json b/input/ImplementationGuide-hl7.org.nz.nhi.json index 55fa11b8..806801ed 100644 --- a/input/ImplementationGuide-hl7.org.nz.nhi.json +++ b/input/ImplementationGuide-hl7.org.nz.nhi.json @@ -29,7 +29,7 @@ "uri": "http://hl7.org.nz/fhir/ImplementationGuide/hl7.org.nz.base", "packageId": "hl7.org.nz.base", "id": "hl7_org_nz_base", - "version": "current" + "version": "dev" } ], "definition": { @@ -66,14 +66,6 @@ "description": "A small-area-based index providing a measure of neighbourhood deprivation", "exampleBoolean": false }, - { - "reference": { - "reference": "StructureDefinition/informationsource" - }, - "name": "Informationsource", - "description": "The source of the information", - "exampleBoolean": false - }, { "reference": { "reference": "StructureDefinition/isPrimaryAddress" @@ -114,86 +106,6 @@ "description": "The reason why the address was not validated", "exampleBoolean": false }, - { - "reference": { - "reference": "ValueSet/BirthDateInformationsource" - }, - "name": "BirthDate Information source", - "description": "The source of data for date of birth", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/CitizenshipInformationsource" - }, - "name": "Citizenship Information source", - "description": "The source of data for Citizenship", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/CountryInformationsource" - }, - "name": "Country Information source", - "description": "The source of data for country of birth data", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/DHB" - }, - "name": "dhb", - "description": "New Zealand DHBs", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/DeathDateInformationsource" - }, - "name": "DeathDate Information source", - "description": "The source of data for the date of death", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/Domicilecode" - }, - "name": "Domicilecode", - "description": "New Zealand Domicile codes", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/ethnicity" - }, - "name": "Patient ethnicity", - "description": "Level 4 ethnicity codes", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/Informationsource" - }, - "name": "Information source", - "description": "The source of this data", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/NameInformationsource" - }, - "name": "Name Information source", - "description": "The source of data for name", - "exampleBoolean": false - }, - { - "reference": { - "reference": "ValueSet/Patient-citizenship-status" - }, - "name": "Patient citizenship status", - "description": "Status of citizenship in NZ", - "exampleBoolean": false - }, { "reference": { "reference": "CodeSystem/AddressNotValidated" @@ -202,46 +114,6 @@ "description": "The reason why the address was not validated", "exampleBoolean": false }, - { - "reference": { - "reference": "CodeSystem/DHB" - }, - "name": "dhb", - "description": "New Zealand DHBs", - "exampleBoolean": false - }, - { - "reference": { - "reference": "CodeSystem/Domicilecode" - }, - "name": "Domicilecode", - "description": "New Zealand Domicile codes", - "exampleBoolean": false - }, - { - "reference": { - "reference": "CodeSystem/EthnicityL4" - }, - "name": "Level 4 ethnicity codes", - "description": "Level 4 ethnicity codes", - "exampleBoolean": false - }, - { - "reference": { - "reference": "CodeSystem/Informationsource" - }, - "name": "Information source", - "description": "The codesystem used to indivate where data has been soruced from. The ValueSets for recording source of Name, birthDate, date of death and country of birth all use this codesystem", - "exampleBoolean": false - }, - { - "reference": { - "reference": "CodeSystem/Patient-citizenship-status" - }, - "name": "Patient citizenship status", - "description": "Status of citizenship in NZ", - "exampleBoolean": false - }, { "reference": { "reference": "CapabilityStatement/NhiCapabilityStatement" diff --git a/input/extensions/StructureDefinition-informationsource.json b/input/extensions/StructureDefinition-informationsource.json deleted file mode 100644 index 787144aa..00000000 --- a/input/extensions/StructureDefinition-informationsource.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "informationsource", - "url": "http://hl7.org.nz/fhir/nhi/StructureDefinition/informationsource", - "version": "0.1.0", - "name": "Informationsource", - "status": "active", - "description": "The source of the information", - "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], - "kind": "complex-type", - "abstract": false, - "context": [ - { - "type": "element", - "expression": "Element" - } - ], - "type": "Extension", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Extension", - "path": "Extension" - }, - { - "id": "Extension.extension", - "path": "Extension.extension", - "max": "0" - }, - { - "id": "Extension.url", - "path": "Extension.url", - "fixedUri": "http://hl7.org.nz/fhir/nhi/StructureDefinition/informationsource" - }, - { - "id": "Extension.value[x]", - "path": "Extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "ordered": false, - "rules": "open" - }, - "type": [ - { - "code": "CodeableConcept" - } - ] - }, - { - "id": "Extension.valueCodeableConcept", - "path": "Extension.valueCodeableConcept", - "min": 0, - "max": "1", - "binding": { - "strength": "preferred", - "valueSet": "http://standards.digital.health.nz/fhir/ValueSet/dodinfosource" - } - } - ] - } -} diff --git a/input/profiles/StructureDefinition-NhiPatient.json b/input/profiles/StructureDefinition-NhiPatient.json index bfd5c065..6b915f03 100644 --- a/input/profiles/StructureDefinition-NhiPatient.json +++ b/input/profiles/StructureDefinition-NhiPatient.json @@ -81,7 +81,7 @@ "path": "Patient.name.extension.valueCodeableConcept", "binding": { "strength": "required", - "valueSet": "https://standards.digital.health.nz/fhir/ValueSet/name-informationsource" + "valueSet": "http:/hl7.org.nz/fhir/ValueSet/infosource" } }, { @@ -171,7 +171,7 @@ "path": "Patient.birthDate.extension.valueCodeableConcept", "binding": { "strength": "required", - "valueSet": "https://standards.digital.health.nz/fhir/ValueSet/birthdate-informationsource" + "valueSet": "http:/hl7.org.nz/fhir/ValueSet/infosource" } }, { @@ -233,7 +233,7 @@ "path": "Patient.deceasedDateTime.extension.valueCodeableConcept", "binding": { "strength": "required", - "valueSet": "https://standards.digital.health.nz/fhir/ValueSet/deathdate-informationsource" + "valueSet": "http:/hl7.org.nz/fhir/ValueSet/infosource" } }, { diff --git a/input/vocabulary/CodeSystem-DHB.json b/input/vocabulary/CodeSystem-DHB.json deleted file mode 100644 index 4e8f4b9b..00000000 --- a/input/vocabulary/CodeSystem-DHB.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "resourceType": "CodeSystem", - "status": "active", - "content": "complete", - "name": "DHB", - "id": "DHB", - "title": "dhb", - "description": "New Zealand DHBs", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/cs/dhb", - "concept": [ - { - "code": "adhb", - "display": "Auckland District Health Board" - }, - { - "code": "bopdhb", - "display": "Bay of Plenty District Health Board" - }, - { - "code": "ccdhb", - "display": "Capital and Coast District Health Board" - }, - { - "code": "cmdhb", - "display": "Counties Manukau District Health Board" - }, - { - "code": "hbdhb", - "display": "Hawkes Bay District Health Board" - }, - { - "code": "hvdhb", - "display": "Hutt Valley District Health Board" - }, - { - "code": "lddhb", - "display": "Lakes District Health Board" - }, - { - "code": "mcdhb", - "display": "Mid Central District Health Board" - }, - { - "code": "ndhb", - "display": "Northland District Health Board" - }, - { - "code": "tdhb", - "display": "Tairawhiti District Health Board" - }, - { - "code": "tardhb", - "display": "Taranaki District Health Board" - }, - { - "code": "waikdhb", - "display": "Waikato District Health Board" - }, - { - "code": "wairdhb", - "display": "Wairarapa District Health Board" - }, - { - "code": "waitdhb", - "display": "Waitemata District Health Board" - }, - { - "code": "whandhb", - "display": "Whanganui District Health Board" - }, - { - "code": "cantchb", - "display": "Canterbury District Health Board" - }, - { - "code": "nmdhb", - "display": "Nelson-Marlborough District Health Board" - }, - { - "code": "scdhb", - "display": "South Canterbury District Health Board" - }, - { - "code": "sddhb", - "display": "Southern District District Health Board" - }, - { - "code": "wcdhb", - "display": "West Coast District Health Board" - } - ] -} diff --git a/input/vocabulary/CodeSystem-Domicilecode.json b/input/vocabulary/CodeSystem-Domicilecode.json deleted file mode 100644 index 79b0e081..00000000 --- a/input/vocabulary/CodeSystem-Domicilecode.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "resourceType": "CodeSystem", - "status": "active", - "content": "complete", - "name": "Domicilecode", - "id": "Domicilecode", - "title": "Domicilecode", - "description": "New Zealand Domicile codes", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/cs/domicilecode", - "concept": [ - { - "code": "0001", - "display": "Awanui" - }, - { - "code": "0002", - "display": "Karikari Peninsula-Maungataniwha" - }, - { - "code": "0040", - "display": "Waipu" - } - ] -} diff --git a/input/vocabulary/CodeSystem-EthnicityL4.json b/input/vocabulary/CodeSystem-EthnicityL4.json deleted file mode 100644 index dea44bbe..00000000 --- a/input/vocabulary/CodeSystem-EthnicityL4.json +++ /dev/null @@ -1,969 +0,0 @@ -{ - "resourceType": "CodeSystem", - "status": "active", - "content": "complete", - "name": "EthnicityL4", - "id": "EthnicityL4", - "title": "Level 4 ethnicity codes", - "description": "Level 4 ethnicity codes", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/cs/ethnic-group-level-4", - "concept": [ - { - "code": "10000", - "display": "European NFD" - }, - { - "code": "11111", - "display": "New Zealand European" - }, - { - "code": "12100", - "display": "British NFD" - }, - { - "code": "12111", - "display": "Celtic" - }, - { - "code": "12112", - "display": "Channel Islander" - }, - { - "code": "12113", - "display": "Cornish" - }, - { - "code": "12114", - "display": "English" - }, - { - "code": "12115", - "display": "Gaelic" - }, - { - "code": "12116", - "display": "Irish" - }, - { - "code": "12117", - "display": "Manx" - }, - { - "code": "12118", - "display": "Orkney Islander" - }, - { - "code": "12119", - "display": "Scottish (Scots)" - }, - { - "code": "12120", - "display": "Shetland Islander" - }, - { - "code": "12121", - "display": "Welsh" - }, - { - "code": "12199", - "display": "British NEC" - }, - { - "code": "12211", - "display": "Dutch/Netherlands" - }, - { - "code": "12311", - "display": "Greek (including Greek Cypriot)" - }, - { - "code": "12411", - "display": "Polish" - }, - { - "code": "12500", - "display": "South Slav (formerly Yugoslav groups) NFD" - }, - { - "code": "12511", - "display": "Croat/Croatian" - }, - { - "code": "12512", - "display": "Dalmatian" - }, - { - "code": "12513", - "display": "Macedonian" - }, - { - "code": "12514", - "display": "Serb/Serbian" - }, - { - "code": "12515", - "display": "Slovene/Slovenian" - }, - { - "code": "12516", - "display": "Bosnian" - }, - { - "code": "12599", - "display": "South Slav (formerly Yugoslav groups) NEC" - }, - { - "code": "12611", - "display": "Italian" - }, - { - "code": "12711", - "display": "German" - }, - { - "code": "12811", - "display": "Australian" - }, - { - "code": "12911", - "display": "Albanian" - }, - { - "code": "12912", - "display": "Armenian" - }, - { - "code": "12913", - "display": "Austrian" - }, - { - "code": "12914", - "display": "Belgian" - }, - { - "code": "12915", - "display": "Bulgarian" - }, - { - "code": "12916", - "display": "Belorussian" - }, - { - "code": "12917", - "display": "Corsican" - }, - { - "code": "12918", - "display": "Cypriot Unspecified" - }, - { - "code": "12919", - "display": "Czech" - }, - { - "code": "12920", - "display": "Danish" - }, - { - "code": "12921", - "display": "Estonian" - }, - { - "code": "12922", - "display": "Finnish" - }, - { - "code": "12923", - "display": "Flemish" - }, - { - "code": "12924", - "display": "French" - }, - { - "code": "12925", - "display": "Greenlander" - }, - { - "code": "12926", - "display": "Hungarian" - }, - { - "code": "12927", - "display": "Icelander" - }, - { - "code": "12928", - "display": "Latvian" - }, - { - "code": "12929", - "display": "Lithuanian" - }, - { - "code": "12930", - "display": "Maltese" - }, - { - "code": "12931", - "display": "Norwegian" - }, - { - "code": "12932", - "display": "Portuguese" - }, - { - "code": "12933", - "display": "Romanian / Rumanian" - }, - { - "code": "12934", - "display": "Romany / Gypsy" - }, - { - "code": "12935", - "display": "Russian" - }, - { - "code": "12936", - "display": "Sardinian" - }, - { - "code": "12937", - "display": "Slavic / Slav" - }, - { - "code": "12938", - "display": "Slovak" - }, - { - "code": "12939", - "display": "Spanish" - }, - { - "code": "12940", - "display": "Swedish" - }, - { - "code": "12941", - "display": "Swiss" - }, - { - "code": "12942", - "display": "Ukrainian" - }, - { - "code": "12943", - "display": "American (US)" - }, - { - "code": "12944", - "display": "Burgher" - }, - { - "code": "12945", - "display": "Canadian" - }, - { - "code": "12946", - "display": "Falkland Islander / Kelper" - }, - { - "code": "12947", - "display": "New Caledonian" - }, - { - "code": "12948", - "display": "South African" - }, - { - "code": "12949", - "display": "Afrikaner" - }, - { - "code": "12950", - "display": "Zimbabwean" - }, - { - "code": "12999", - "display": "European NEC" - }, - { - "code": "21111", - "display": "Māori" - }, - { - "code": "30000", - "display": "Pacific peoples NFD" - }, - { - "code": "31111", - "display": "Samoan" - }, - { - "code": "32100", - "display": "Cook Island Māori NFD" - }, - { - "code": "32111", - "display": "Aitutaki Islander" - }, - { - "code": "32112", - "display": "Atiu Islander" - }, - { - "code": "32113", - "display": "Mangaia Islander" - }, - { - "code": "32114", - "display": "Manihiki Islander" - }, - { - "code": "32115", - "display": "Mauke Islander" - }, - { - "code": "32116", - "display": "Mitiaro Islander" - }, - { - "code": "32117", - "display": "Palmerston Islander" - }, - { - "code": "32118", - "display": "Penrhyn Islander" - }, - { - "code": "32119", - "display": "Pukapuka Islander" - }, - { - "code": "32120", - "display": "Rakahanga Islander" - }, - { - "code": "32121", - "display": "Rarotongan" - }, - { - "code": "33111", - "display": "Tongan" - }, - { - "code": "34111", - "display": "Niuean" - }, - { - "code": "35111", - "display": "Tokelauan" - }, - { - "code": "36111", - "display": "Fijian (except Fiji Indian / Indo-Fijian)" - }, - { - "code": "37111", - "display": "Admiralty Islander" - }, - { - "code": "37112", - "display": "Australian Aboriginal" - }, - { - "code": "37113", - "display": "Austral Islander" - }, - { - "code": "37114", - "display": "Belau / Palau Islander" - }, - { - "code": "37115", - "display": "Bismark Archipelagoan" - }, - { - "code": "37116", - "display": "Bougainvillean" - }, - { - "code": "37117", - "display": "Caroline Islander" - }, - { - "code": "37118", - "display": "Easter Islander" - }, - { - "code": "37119", - "display": "Gambier Islander" - }, - { - "code": "37120", - "display": "Guadalcanalian" - }, - { - "code": "37121", - "display": "Guam Islander / Chamorro" - }, - { - "code": "37122", - "display": "Hawaiian" - }, - { - "code": "37123", - "display": "Kanaka / Kanak" - }, - { - "code": "37124", - "display": "I-Kiribati / Gilbertese" - }, - { - "code": "37125", - "display": "Malaitian" - }, - { - "code": "37126", - "display": "Manus Islander" - }, - { - "code": "37127", - "display": "Marianas Islander" - }, - { - "code": "37128", - "display": "Marquesas Islander" - }, - { - "code": "37129", - "display": "Marshall Islander" - }, - { - "code": "37130", - "display": "Nauru Islander" - }, - { - "code": "37131", - "display": "New Britain Islander" - }, - { - "code": "37132", - "display": "New Georgian" - }, - { - "code": "37133", - "display": "New Irelander" - }, - { - "code": "37134", - "display": "Ocean Islander / Banaban" - }, - { - "code": "37135", - "display": "Papuan / New Guinean / Irian Jayan" - }, - { - "code": "37136", - "display": "Phoenix Islander" - }, - { - "code": "37137", - "display": "Pitcairn Islander" - }, - { - "code": "37138", - "display": "Rotuman / Rotuman Islander" - }, - { - "code": "37139", - "display": "Santa Cruz Islander" - }, - { - "code": "37140", - "display": "Society Islander (including Tahitian)" - }, - { - "code": "37141", - "display": "Solomon Islander" - }, - { - "code": "37142", - "display": "Torres Strait Islander / Thursday Islander" - }, - { - "code": "37143", - "display": "Tuamotu Islander" - }, - { - "code": "37144", - "display": "Tuvalu Islander / Ellice Islander" - }, - { - "code": "37145", - "display": "Vanuatu Islander / New Hebridean" - }, - { - "code": "37146", - "display": "Wake Islander" - }, - { - "code": "37147", - "display": "Wallis Islander" - }, - { - "code": "37148", - "display": "Yap Islander" - }, - { - "code": "37199", - "display": "Other Pacific peoples NEC" - }, - { - "code": "40000", - "display": "Asian NFD" - }, - { - "code": "41000", - "display": "Southeast Asian NFD" - }, - { - "code": "41111", - "display": "Filipino" - }, - { - "code": "41211", - "display": "Khmer / Kampuchean / Cambodian" - }, - { - "code": "41311", - "display": "Vietnamese" - }, - { - "code": "41411", - "display": "Burmese" - }, - { - "code": "41412", - "display": "Indonesian (including Javanese / Sundanese / Sumatran)" - }, - { - "code": "41413", - "display": "Lao / Laotian" - }, - { - "code": "41414", - "display": "Malay / Malayan" - }, - { - "code": "41415", - "display": "Thai / Tai / Siamese" - }, - { - "code": "41499", - "display": "Other Southeast Asian NEC" - }, - { - "code": "42100", - "display": "Chinese NFD" - }, - { - "code": "42111", - "display": "Hong Kong Chinese" - }, - { - "code": "42112", - "display": "Kampuchean Chinese" - }, - { - "code": "42113", - "display": "Malaysian Chinese" - }, - { - "code": "42114", - "display": "Singaporean Chinese" - }, - { - "code": "42115", - "display": "Vietnamese Chinese" - }, - { - "code": "42116", - "display": "Taiwanese Chinese" - }, - { - "code": "42199", - "display": "Chinese NEC" - }, - { - "code": "43100", - "display": "Indian NFD" - }, - { - "code": "43111", - "display": "Bengali" - }, - { - "code": "43112", - "display": "Fijian Indian / Indo-Fijian" - }, - { - "code": "43113", - "display": "Gujarati" - }, - { - "code": "43114", - "display": "Tamil" - }, - { - "code": "43115", - "display": "Punjabi" - }, - { - "code": "43116", - "display": "Sikh" - }, - { - "code": "43117", - "display": "Anglo Indian" - }, - { - "code": "43199", - "display": "Indian NEC" - }, - { - "code": "44100", - "display": "Sri Lankan NFD" - }, - { - "code": "44111", - "display": "Sinhalese" - }, - { - "code": "44112", - "display": "Sri Lankan Tamil" - }, - { - "code": "44199", - "display": "Sri Lankan NEC" - }, - { - "code": "44211", - "display": "Japanese" - }, - { - "code": "44311", - "display": "Korean" - }, - { - "code": "44411", - "display": "Afghani" - }, - { - "code": "44412", - "display": "Bangladeshi" - }, - { - "code": "44413", - "display": "Nepalese" - }, - { - "code": "44414", - "display": "Pakistani" - }, - { - "code": "44415", - "display": "Tibetan" - }, - { - "code": "44416", - "display": "Eurasian" - }, - { - "code": "44499", - "display": "Other Asian NEC" - }, - { - "code": "51100", - "display": "Middle Eastern NFD" - }, - { - "code": "51111", - "display": "Algerian" - }, - { - "code": "51112", - "display": "Arab" - }, - { - "code": "51113", - "display": "Assyrian" - }, - { - "code": "51114", - "display": "Egyptian" - }, - { - "code": "51115", - "display": "Iranian / Persian" - }, - { - "code": "51116", - "display": "Iraqi" - }, - { - "code": "51117", - "display": "Israeli / Jewish / Hebrew" - }, - { - "code": "51118", - "display": "Jordanian" - }, - { - "code": "51119", - "display": "Kurd" - }, - { - "code": "51120", - "display": "Lebanese" - }, - { - "code": "51121", - "display": "Libyan" - }, - { - "code": "51122", - "display": "Moroccan" - }, - { - "code": "51123", - "display": "Omani" - }, - { - "code": "51124", - "display": "Palestinian" - }, - { - "code": "51125", - "display": "Syrian" - }, - { - "code": "51126", - "display": "Tunisian" - }, - { - "code": "51127", - "display": "Turkish (including Turkish Cypriot)" - }, - { - "code": "51128", - "display": "Yemeni" - }, - { - "code": "51199", - "display": "Middle Eastern NEC" - }, - { - "code": "52100", - "display": "Latin American / Hispanic NFD" - }, - { - "code": "52111", - "display": "Argentinian" - }, - { - "code": "52112", - "display": "Bolivian" - }, - { - "code": "52113", - "display": "Brazilian" - }, - { - "code": "52114", - "display": "Chilean" - }, - { - "code": "52115", - "display": "Colombian" - }, - { - "code": "52116", - "display": "Costa Rican" - }, - { - "code": "52117", - "display": "Creole (Latin America)" - }, - { - "code": "52118", - "display": "Ecuadorian" - }, - { - "code": "52119", - "display": "Guatemalan" - }, - { - "code": "52120", - "display": "Guyanese" - }, - { - "code": "52121", - "display": "Honduran" - }, - { - "code": "52122", - "display": "Malvinian (Spanish-speaking Falkland Islander)" - }, - { - "code": "52123", - "display": "Mexican" - }, - { - "code": "52124", - "display": "Nicaraguan" - }, - { - "code": "52125", - "display": "Panamanian" - }, - { - "code": "52126", - "display": "Paraguayan" - }, - { - "code": "52127", - "display": "Peruvian" - }, - { - "code": "52128", - "display": "Puerto Rican" - }, - { - "code": "52129", - "display": "Uruguayan" - }, - { - "code": "52130", - "display": "Venezuelan" - }, - { - "code": "52199", - "display": "Latin American / Hispanic NEC" - }, - { - "code": "53100", - "display": "African NFD" - }, - { - "code": "53112", - "display": "Creole (US)" - }, - { - "code": "53113", - "display": "Jamaican" - }, - { - "code": "53114", - "display": "Kenyan" - }, - { - "code": "53115", - "display": "Nigerian" - }, - { - "code": "53116", - "display": "African American" - }, - { - "code": "53117", - "display": "Ugandan" - }, - { - "code": "53118", - "display": "West Indian / Caribbean" - }, - { - "code": "53119", - "display": "Somali" - }, - { - "code": "53120", - "display": "Eritrean" - }, - { - "code": "53121", - "display": "Ethiopian" - }, - { - "code": "53122", - "display": "Ghanaian" - }, - { - "code": "53199", - "display": "Other African NEC" - }, - { - "code": "61111", - "display": "Central American Indian" - }, - { - "code": "61112", - "display": "Inuit / Eskimo" - }, - { - "code": "61113", - "display": "North American Indian" - }, - { - "code": "61114", - "display": "South American Indian" - }, - { - "code": "61115", - "display": "Mauritian" - }, - { - "code": "61116", - "display": "Seychelles Islander" - }, - { - "code": "61117", - "display": "South African Coloured" - }, - { - "code": "61118", - "display": "New Zealander" - }, - { - "code": "61199", - "display": "Other NEC" - }, - { - "code": "94444", - "display": "Don't know" - }, - { - "code": "95555", - "display": "Refused to answer" - }, - { - "code": "96666", - "display": "Repeated Value" - }, - { - "code": "97777", - "display": "Response unidentifiable" - }, - { - "code": "98888", - "display": "Response Outside Scope" - }, - { - "code": "99999", - "display": "Not stated" - } - ] -} diff --git a/input/vocabulary/CodeSystem-Informationsource.json b/input/vocabulary/CodeSystem-Informationsource.json deleted file mode 100644 index 80f06260..00000000 --- a/input/vocabulary/CodeSystem-Informationsource.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "resourceType": "CodeSystem", - "status": "active", - "content": "complete", - "name": "Informationsource", - "id": "Informationsource", - "title": "Information source", - "description": "The codesystem used to indivate where data has been soruced from. The ValueSets for recording source of Name, birthDate, date of death and country of birth all use this codesystem", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/cs/informationsource", - "concept": [ - { - "code": "BREG", - "display": "Birth Register" - }, - { - "code": "HL7", - "display": "HL7 applied" - }, - { - "code": "MIGR", - "display": "Migrated" - }, - { - "code": "NPRF", - "display": "Proof not sighted" - }, - { - "code": "NZCI", - "display": "New Zealand Certificate of Identity" - }, - { - "code": "NZCT", - "display": "New Zealand Citizenship Certificate" - }, - { - "code": "NZET", - "display": "New Zealand Emergency Travel Document" - }, - { - "code": "NZRT", - "display": "New Zealand Refugee Travel Document" - }, - { - "code": "OTHR", - "display": "Other" - }, - { - "code": "PPRT", - "display": "Passport" - }, - { - "code": "NZRS", - "display": "New Zealand Residency" - }, - { - "code": "TRANS", - "display": "Transition Default" - }, - { - "code": "NZPV", - "display": "New Zealand Permanent Visa" - }, - { - "code": "NZTV", - "display": "New Zealand Resident Visa" - } - ] -} diff --git a/input/vocabulary/CodeSystem-Patient-citizenship-status.json b/input/vocabulary/CodeSystem-Patient-citizenship-status.json deleted file mode 100644 index 3f0c76b9..00000000 --- a/input/vocabulary/CodeSystem-Patient-citizenship-status.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "resourceType": "CodeSystem", - "status": "active", - "content": "complete", - "name": "Patient_citizenship_status", - "id": "Patient-citizenship-status", - "title": "Patient citizenship status", - "description": "Status of citizenship in NZ", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/cs/citizenshipstatus", - "concept": [ - { - "code": "CIT", - "display": "Citizen" - }, - { - "code": "NCIT", - "display": "Not a citizen" - }, - { - "code": "UNK", - "display": "Unknown" - } - ] -} diff --git a/input/vocabulary/ValueSet-AddressNotValidatedReason.json b/input/vocabulary/ValueSet-AddressNotValidatedReason.json index 85c5dcca..9e98e866 100644 --- a/input/vocabulary/ValueSet-AddressNotValidatedReason.json +++ b/input/vocabulary/ValueSet-AddressNotValidatedReason.json @@ -10,7 +10,7 @@ "compose": { "include": [ { - "system": "https://standards.digital.health.nz/cs/addressnotvalidatedreason" + "system": "http://hl7.org.nz/ValueSet/addressnotvalidatedreason" } ] } diff --git a/input/vocabulary/ValueSet-BirthDateInformationsource.json b/input/vocabulary/ValueSet-BirthDateInformationsource.json deleted file mode 100644 index 23605ff5..00000000 --- a/input/vocabulary/ValueSet-BirthDateInformationsource.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "BirthDateInformationsource", - "id": "BirthDateInformationsource", - "title": "BirthDate Information source", - "description": "The source of data for date of birth", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/birthdate-informationsource", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/informationsource", - "concept": [ - { - "code": "NZCT", - "display": "New Zealand Citizenship Certificate" - }, - { - "code": "NZET", - "display": "New Zealand Emergency Travel Document" - }, - { - "code": "NZRT", - "display": "New Zealand Refugee Travel Document" - }, - { - "code": "OTHR", - "display": "Other" - }, - { - "code": "PPRT", - "display": "Passport" - } - ] - } - ] - } -} diff --git a/input/vocabulary/ValueSet-CitizenshipInformationsource.json b/input/vocabulary/ValueSet-CitizenshipInformationsource.json deleted file mode 100644 index 28917bfa..00000000 --- a/input/vocabulary/ValueSet-CitizenshipInformationsource.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "CitizenshipInformationsource", - "id": "CitizenshipInformationsource", - "title": "Citizenship Information source", - "description": "The source of data for Citizenship", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/citizenship-informationsource", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/informationsource", - "concept": [ - { - "code": "PPRT", - "display": "Passport" - }, - { - "code": "NZRS", - "display": "New Zealand Residency" - }, - { - "code": "TRANS", - "display": "Transition Default" - }, - { - "code": "NZPV", - "display": "New Zealand Permanent Visa" - }, - { - "code": "NZTV", - "display": "New Zealand Resident Visa" - } - ] - } - ] - } -} diff --git a/input/vocabulary/ValueSet-CountryInformationsource.json b/input/vocabulary/ValueSet-CountryInformationsource.json deleted file mode 100644 index 836320c3..00000000 --- a/input/vocabulary/ValueSet-CountryInformationsource.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "CountryInformationsource", - "id": "CountryInformationsource", - "title": "Country Information source", - "description": "The source of data for country of birth data", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/country-informationsource", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/informationsource", - "concept": [ - { - "code": "PPRT", - "display": "Passport" - }, - { - "code": "NZRS", - "display": "New Zealand Residency" - }, - { - "code": "TRANS", - "display": "Transition Default" - }, - { - "code": "NZPV", - "display": "New Zealand Permanent Visa" - }, - { - "code": "NZTV", - "display": "New Zealand Resident Visa" - } - ] - } - ] - } -} diff --git a/input/vocabulary/ValueSet-DHB.json b/input/vocabulary/ValueSet-DHB.json deleted file mode 100644 index 8a491b0b..00000000 --- a/input/vocabulary/ValueSet-DHB.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "DHB", - "id": "DHB", - "title": "dhb", - "description": "New Zealand DHBs", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/dhb", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/dhb" - } - ] - } -} diff --git a/input/vocabulary/ValueSet-DeathDateInformationsource.json b/input/vocabulary/ValueSet-DeathDateInformationsource.json deleted file mode 100644 index fd5d0d64..00000000 --- a/input/vocabulary/ValueSet-DeathDateInformationsource.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "DeathDateInformationsource", - "id": "DeathDateInformationsource", - "title": "DeathDate Information source", - "description": "The source of data for the date of death", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/deathdate-informationsource", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/informationsource", - "concept": [ - { - "code": "MIGR", - "display": "Migrated" - }, - { - "code": "NPRF", - "display": "Proof not sighted" - }, - { - "code": "NZCI", - "display": "New Zealand Certificate of Identity" - } - ] - } - ] - } -} diff --git a/input/vocabulary/ValueSet-Domicilecode.json b/input/vocabulary/ValueSet-Domicilecode.json deleted file mode 100644 index 5fffb051..00000000 --- a/input/vocabulary/ValueSet-Domicilecode.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "Domicilecode", - "id": "Domicilecode", - "title": "Domicilecode", - "description": "New Zealand Domicile codes", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/domicilecode", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/domicilecode" - } - ] - } -} diff --git a/input/vocabulary/ValueSet-Informationsource.json b/input/vocabulary/ValueSet-Informationsource.json deleted file mode 100644 index ec5ab64f..00000000 --- a/input/vocabulary/ValueSet-Informationsource.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "Informationsource", - "id": "Informationsource", - "title": "Information source", - "description": "The source of this data", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/informationsource", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/informationsource" - } - ] - } -} diff --git a/input/vocabulary/ValueSet-NameInformationsource.json b/input/vocabulary/ValueSet-NameInformationsource.json deleted file mode 100644 index 79f69f62..00000000 --- a/input/vocabulary/ValueSet-NameInformationsource.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "NameInformationsource", - "id": "NameInformationsource", - "title": "Name Information source", - "description": "The source of data for name", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/name-informationsource", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/informationsource", - "concept": [ - { - "code": "BREG", - "display": "Birth Register" - }, - { - "code": "HL7", - "display": "HL7 applied" - }, - { - "code": "MIGR", - "display": "Migrated" - }, - { - "code": "TRANS", - "display": "Transition Default" - }, - { - "code": "NZPV", - "display": "New Zealand Permanent Visa" - } - ] - } - ] - } -} diff --git a/input/vocabulary/ValueSet-Patient-citizenship-status.json b/input/vocabulary/ValueSet-Patient-citizenship-status.json deleted file mode 100644 index b295dd8b..00000000 --- a/input/vocabulary/ValueSet-Patient-citizenship-status.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "Patient_citizenship_status", - "id": "Patient-citizenship-status", - "title": "Patient citizenship status", - "description": "Status of citizenship in NZ", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/fhir/ValueSet/citizenshipstatus", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/citizenshipstatus" - } - ] - } -} diff --git a/input/vocabulary/ValueSet-ethnicity.json b/input/vocabulary/ValueSet-ethnicity.json deleted file mode 100644 index 756d5145..00000000 --- a/input/vocabulary/ValueSet-ethnicity.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "resourceType": "ValueSet", - "status": "active", - "name": "Ethnicity", - "id": "ethnicity", - "title": "Patient ethnicity", - "description": "Level 4 ethnicity codes", - "version": "0.1.0", - "url": "https://standards.digital.health.nz/ValueSet/ethnic-group-level-4", - "compose": { - "include": [ - { - "system": "https://standards.digital.health.nz/cs/ethnic-group-level-4" - } - ] - } -} diff --git a/package.json b/package.json index dcfef492..60a8cb13 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "description": "The FHIRb API for the NHI", "dependencies": { "hl7.fhir.r4.core": "4.0.1", - "hl7.org.nz.base": "current" + "hl7.org.nz.base": "dev" }, "usage-stats-opt-out": true, "language": "en",