{"resourceType":"StructureDefinition","id":"cycle-log-procedure","url":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-procedure","version":"0.1.0","name":"CycleLogProcedure","title":"Procedure","status":"draft","experimental":true,"description":"A completed procedure, dated to the year, month, day, or day and time (1900-2150). Closed: every element not listed is max 0. Generated from the cycle-log model (codecs/cycle-log/profiles/make-profiles.ts).","fhirVersion":"4.0.1","kind":"resource","abstract":false,"type":"Procedure","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Procedure","derivation":"constraint","differential":{"element":[{"id":"Procedure","path":"Procedure","constraint":[{"key":"cy-cc","severity":"error","human":"Every CodeableConcept carries a coding, text, or both.","expression":"descendants().ofType(CodeableConcept).all(coding.exists() or text.exists())","source":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-procedure"},{"key":"cy-coding","severity":"error","human":"Every coding is a concept key the model can hold: an absolute URI system of printable ASCII without \"|\" (at most 255 characters), a code of at most 128 characters with single spaces only between non-space characters and no control characters, and for SNOMED CT a concept-id shaped code (6-18 digits, partition 00 or 10; the check digit is not tested).","expression":"descendants().ofType(Coding).all(system.matches('^[A-Za-z][A-Za-z0-9+.-]*:[!-{}~]+$') and system.matches('^.{1,255}$') and code.matches('^[^\\\\s\\\\x00-\\\\x1f\\\\x7f]+( [^\\\\s\\\\x00-\\\\x1f\\\\x7f]+)*$') and code.matches('^.{1,128}$') and (system != 'http://snomed.info/sct' or code.matches('^[1-9][0-9]{2,14}[01]0[0-9]$')))","source":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-procedure"},{"key":"cy-label","severity":"error","human":"An escape coding display (not fixed by its position) or CodeableConcept text is allowed only on non-built-in concepts (or text-only concepts), with no leading or trailing whitespace, no control characters and at most 128 characters.","expression":"descendants().ofType(Coding).where(display.exists() and ((system & '|' & code & '|' & display) in ('https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-bleeding|Menstrual bleeding' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-flow|Patient-reported menstrual flow category' | 'http://loinc.org|72514-3|Pain severity - 0-10 verbal numeric rating [Score] - Reported' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|symptom|Symptom' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|basal-body-temperature|Basal body temperature' | 'http://terminology.hl7.org/CodeSystem/observation-category|vital-signs|Vital Signs' | 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue|SUBSETTED|subsetted')).not()).all(((system & '|' & code) in ('http://loinc.org|2106-3' | 'http://loinc.org|63888-2' | 'http://loinc.org|63889-0' | 'http://loinc.org|63895-7' | 'http://loinc.org|64700-8' | 'http://loinc.org|64701-6' | 'http://loinc.org|64702-4' | 'http://loinc.org|65930-0' | 'http://loinc.org|72514-3' | 'http://loinc.org|82810-3' | 'http://loinc.org|8659-5' | 'http://loinc.org|92656-8' | 'http://loinc.org|93832-4' | 'http://loinc.org|LA12688-0' | 'http://loinc.org|LA12693-0' | 'http://loinc.org|LA137-2' | 'http://loinc.org|LA14649-0' | 'http://loinc.org|LA14650-8' | 'http://loinc.org|LA14651-6' | 'http://loinc.org|LA14652-4' | 'http://loinc.org|LA14653-2' | 'http://loinc.org|LA14654-0' | 'http://loinc.org|LA14655-7' | 'http://loinc.org|LA14656-5' | 'http://loinc.org|LA14657-3' | 'http://loinc.org|LA15173-0' | 'http://loinc.org|LA16581-3' | 'http://loinc.org|LA27901-0' | 'http://loinc.org|LA27902-8' | 'http://loinc.org|LA27903-6' | 'http://loinc.org|LA27904-4' | 'http://loinc.org|LA27907-7' | 'http://loinc.org|LA27908-5' | 'http://loinc.org|LA27909-3' | 'http://loinc.org|LA27911-9' | 'http://loinc.org|LA27912-7' | 'http://loinc.org|LA27918-4' | 'http://loinc.org|LA27919-2' | 'http://loinc.org|LA29252-6' | 'http://loinc.org|LA32-8' | 'http://loinc.org|LA33-6' | 'http://snomed.info/sct|10828004' | 'http://snomed.info/sct|109006003' | 'http://snomed.info/sct|11381005' | 'http://snomed.info/sct|11401008' | 'http://snomed.info/sct|116289008' | 'http://snomed.info/sct|11847009' | 'http://snomed.info/sct|1237359009' | 'http://snomed.info/sct|1263416007' | 'http://snomed.info/sct|128105004' | 'http://snomed.info/sct|129103003' | 'http://snomed.info/sct|1372819003' | 'http://snomed.info/sct|14760008' | 'http://snomed.info/sct|161541000119104' | 'http://snomed.info/sct|161891005' | 'http://snomed.info/sct|165232002' | 'http://snomed.info/sct|169553002' | 'http://snomed.info/sct|18963009' | 'http://snomed.info/sct|193462001' | 'http://snomed.info/sct|225038006' | 'http://snomed.info/sct|2314005' | 'http://snomed.info/sct|236884004' | 'http://snomed.info/sct|236886002' | 'http://snomed.info/sct|237055002' | 'http://snomed.info/sct|237120002' | 'http://snomed.info/sct|237662005' | 'http://snomed.info/sct|237788002' | 'http://snomed.info/sct|248132003' | 'http://snomed.info/sct|25064002' | 'http://snomed.info/sct|260385009' | 'http://snomed.info/sct|265060005' | 'http://snomed.info/sct|271681002' | 'http://snomed.info/sct|279039007' | 'http://snomed.info/sct|289532003' | 'http://snomed.info/sct|301807007' | 'http://snomed.info/sct|30473006' | 'http://snomed.info/sct|30729008' | 'http://snomed.info/sct|312138002' | 'http://snomed.info/sct|31908003' | 'http://snomed.info/sct|34364009' | 'http://snomed.info/sct|34486009' | 'http://snomed.info/sct|364316005' | 'http://snomed.info/sct|366979004' | 'http://snomed.info/sct|37796009' | 'http://snomed.info/sct|38268001' | 'http://snomed.info/sct|404640003' | 'http://snomed.info/sct|40930008' | 'http://snomed.info/sct|42010004' | 'http://snomed.info/sct|422587007' | 'http://snomed.info/sct|42984000' | 'http://snomed.info/sct|431416001' | 'http://snomed.info/sct|43548008' | 'http://snomed.info/sct|48694002' | 'http://snomed.info/sct|53430007' | 'http://snomed.info/sct|55222007' | 'http://snomed.info/sct|55929007' | 'http://snomed.info/sct|56317004' | 'http://snomed.info/sct|58436003' | 'http://snomed.info/sct|62315008' | 'http://snomed.info/sct|6247001' | 'http://snomed.info/sct|63537005' | 'http://snomed.info/sct|64779008' | 'http://snomed.info/sct|65200003' | 'http://snomed.info/sct|70256003' | 'http://snomed.info/sct|71315007' | 'http://snomed.info/sct|73595000' | 'http://snomed.info/sct|76498008' | 'http://snomed.info/sct|76876009' | 'http://snomed.info/sct|784314006' | 'http://snomed.info/sct|80313002' | 'http://snomed.info/sct|82334004' | 'http://snomed.info/sct|83152002' | 'http://snomed.info/sct|8357008' | 'http://snomed.info/sct|84229001' | 'http://snomed.info/sct|87522002' | 'http://snomed.info/sct|90332006' | 'http://snomed.info/sct|95315005' | 'http://terminology.hl7.org/CodeSystem/observation-category|vital-signs' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|basal-body-temperature' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|cervical-mucus' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|contraceptive-pill-taken' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-energized' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-exhausted' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-high' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-level' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-low' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|estrogen-surge' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-alcohol' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-fever' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-late-wake' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-medication' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-other' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-poor-sleep' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-stress' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-travel' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-heavy' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-light' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-moderate' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-none' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-spotting' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|hot-flash' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-bleeding' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-flow' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-fluid-volume' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mood-valence' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-creamy' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-dry' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-egg-white' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-sticky' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-watery' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|nightly-skin-temperature' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|no-sexual-intercourse' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|ovulation-test' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|pdg-test' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|reading-excluded' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|reading-exclusion-reason' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|skin-temperature-deviation' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|symptom' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-neutral' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-pleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-slightly-pleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-slightly-unpleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-unpleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-very-pleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-very-unpleasant')).not() and display.matches('^[^\\\\s\\\\u00a0\\\\u1680\\\\u2000-\\\\u200a\\\\u2028\\\\u2029\\\\u202f\\\\u205f\\\\u3000\\\\ufeff\\\\x00-\\\\x1f\\\\x7f]([^\\\\x00-\\\\x1f\\\\x7f]{0,126}[^\\\\s\\\\u00a0\\\\u1680\\\\u2000-\\\\u200a\\\\u2028\\\\u2029\\\\u202f\\\\u205f\\\\u3000\\\\ufeff\\\\x00-\\\\x1f\\\\x7f])?$')) and descendants().ofType(CodeableConcept).where(text.exists()).all(text.matches('^[^\\\\s\\\\u00a0\\\\u1680\\\\u2000-\\\\u200a\\\\u2028\\\\u2029\\\\u202f\\\\u205f\\\\u3000\\\\ufeff\\\\x00-\\\\x1f\\\\x7f]([^\\\\x00-\\\\x1f\\\\x7f]{0,126}[^\\\\s\\\\u00a0\\\\u1680\\\\u2000-\\\\u200a\\\\u2028\\\\u2029\\\\u202f\\\\u205f\\\\u3000\\\\ufeff\\\\x00-\\\\x1f\\\\x7f])?$') and (coding.empty() or ((coding.system & '|' & coding.code) in ('http://loinc.org|2106-3' | 'http://loinc.org|63888-2' | 'http://loinc.org|63889-0' | 'http://loinc.org|63895-7' | 'http://loinc.org|64700-8' | 'http://loinc.org|64701-6' | 'http://loinc.org|64702-4' | 'http://loinc.org|65930-0' | 'http://loinc.org|72514-3' | 'http://loinc.org|82810-3' | 'http://loinc.org|8659-5' | 'http://loinc.org|92656-8' | 'http://loinc.org|93832-4' | 'http://loinc.org|LA12688-0' | 'http://loinc.org|LA12693-0' | 'http://loinc.org|LA137-2' | 'http://loinc.org|LA14649-0' | 'http://loinc.org|LA14650-8' | 'http://loinc.org|LA14651-6' | 'http://loinc.org|LA14652-4' | 'http://loinc.org|LA14653-2' | 'http://loinc.org|LA14654-0' | 'http://loinc.org|LA14655-7' | 'http://loinc.org|LA14656-5' | 'http://loinc.org|LA14657-3' | 'http://loinc.org|LA15173-0' | 'http://loinc.org|LA16581-3' | 'http://loinc.org|LA27901-0' | 'http://loinc.org|LA27902-8' | 'http://loinc.org|LA27903-6' | 'http://loinc.org|LA27904-4' | 'http://loinc.org|LA27907-7' | 'http://loinc.org|LA27908-5' | 'http://loinc.org|LA27909-3' | 'http://loinc.org|LA27911-9' | 'http://loinc.org|LA27912-7' | 'http://loinc.org|LA27918-4' | 'http://loinc.org|LA27919-2' | 'http://loinc.org|LA29252-6' | 'http://loinc.org|LA32-8' | 'http://loinc.org|LA33-6' | 'http://snomed.info/sct|10828004' | 'http://snomed.info/sct|109006003' | 'http://snomed.info/sct|11381005' | 'http://snomed.info/sct|11401008' | 'http://snomed.info/sct|116289008' | 'http://snomed.info/sct|11847009' | 'http://snomed.info/sct|1237359009' | 'http://snomed.info/sct|1263416007' | 'http://snomed.info/sct|128105004' | 'http://snomed.info/sct|129103003' | 'http://snomed.info/sct|1372819003' | 'http://snomed.info/sct|14760008' | 'http://snomed.info/sct|161541000119104' | 'http://snomed.info/sct|161891005' | 'http://snomed.info/sct|165232002' | 'http://snomed.info/sct|169553002' | 'http://snomed.info/sct|18963009' | 'http://snomed.info/sct|193462001' | 'http://snomed.info/sct|225038006' | 'http://snomed.info/sct|2314005' | 'http://snomed.info/sct|236884004' | 'http://snomed.info/sct|236886002' | 'http://snomed.info/sct|237055002' | 'http://snomed.info/sct|237120002' | 'http://snomed.info/sct|237662005' | 'http://snomed.info/sct|237788002' | 'http://snomed.info/sct|248132003' | 'http://snomed.info/sct|25064002' | 'http://snomed.info/sct|260385009' | 'http://snomed.info/sct|265060005' | 'http://snomed.info/sct|271681002' | 'http://snomed.info/sct|279039007' | 'http://snomed.info/sct|289532003' | 'http://snomed.info/sct|301807007' | 'http://snomed.info/sct|30473006' | 'http://snomed.info/sct|30729008' | 'http://snomed.info/sct|312138002' | 'http://snomed.info/sct|31908003' | 'http://snomed.info/sct|34364009' | 'http://snomed.info/sct|34486009' | 'http://snomed.info/sct|364316005' | 'http://snomed.info/sct|366979004' | 'http://snomed.info/sct|37796009' | 'http://snomed.info/sct|38268001' | 'http://snomed.info/sct|404640003' | 'http://snomed.info/sct|40930008' | 'http://snomed.info/sct|42010004' | 'http://snomed.info/sct|422587007' | 'http://snomed.info/sct|42984000' | 'http://snomed.info/sct|431416001' | 'http://snomed.info/sct|43548008' | 'http://snomed.info/sct|48694002' | 'http://snomed.info/sct|53430007' | 'http://snomed.info/sct|55222007' | 'http://snomed.info/sct|55929007' | 'http://snomed.info/sct|56317004' | 'http://snomed.info/sct|58436003' | 'http://snomed.info/sct|62315008' | 'http://snomed.info/sct|6247001' | 'http://snomed.info/sct|63537005' | 'http://snomed.info/sct|64779008' | 'http://snomed.info/sct|65200003' | 'http://snomed.info/sct|70256003' | 'http://snomed.info/sct|71315007' | 'http://snomed.info/sct|73595000' | 'http://snomed.info/sct|76498008' | 'http://snomed.info/sct|76876009' | 'http://snomed.info/sct|784314006' | 'http://snomed.info/sct|80313002' | 'http://snomed.info/sct|82334004' | 'http://snomed.info/sct|83152002' | 'http://snomed.info/sct|8357008' | 'http://snomed.info/sct|84229001' | 'http://snomed.info/sct|87522002' | 'http://snomed.info/sct|90332006' | 'http://snomed.info/sct|95315005' | 'http://terminology.hl7.org/CodeSystem/observation-category|vital-signs' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|basal-body-temperature' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|cervical-mucus' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|contraceptive-pill-taken' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-energized' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-exhausted' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-high' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-level' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|energy-low' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|estrogen-surge' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-alcohol' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-fever' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-late-wake' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-medication' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-other' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-poor-sleep' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-stress' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|exclude-travel' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-heavy' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-light' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-moderate' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-none' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|flow-spotting' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|hot-flash' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-bleeding' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-flow' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|menstrual-fluid-volume' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mood-valence' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-creamy' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-dry' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-egg-white' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-sticky' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|mucus-watery' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|nightly-skin-temperature' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|no-sexual-intercourse' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|ovulation-test' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|pdg-test' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|reading-excluded' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|reading-exclusion-reason' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|skin-temperature-deviation' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|symptom' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-neutral' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-pleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-slightly-pleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-slightly-unpleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-unpleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-very-pleasant' | 'https://joshuamandel.com/shc2-poc/CodeSystem/cycle-log|valence-very-unpleasant')).not()))","source":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-procedure"},{"key":"cy-partial-date","severity":"error","human":"A procedure date is a date of any precision (YYYY, YYYY-MM or YYYY-MM-DD), or a full day with a time of day and offset (never -00:00); a condition onset is a date of any precision without a time. Years are in 1900..2150.","expression":"performed.ofType(dateTime).all(toString().matches('^[0-9]{4}(-[0-9]{2}(-[0-9]{2}(T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9][+-](0[0-9]|1[0-4]):(00|15|30|45))?)?)?$') and toString().endsWith('-00:00').not() and toString() >= '1900' and toString().substring(0, 4) <= '2150') and onset.ofType(dateTime).all(toString().matches('^[0-9]{4}(-[0-9]{2}(-[0-9]{2})?)?$') and toString() >= '1900' and toString().substring(0, 4) <= '2150')","source":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-procedure"}]},{"id":"Procedure.meta.id","path":"Procedure.meta.id","max":"0"},{"id":"Procedure.meta.extension","path":"Procedure.meta.extension","max":"0"},{"id":"Procedure.meta.versionId","path":"Procedure.meta.versionId","max":"0"},{"id":"Procedure.meta.lastUpdated","path":"Procedure.meta.lastUpdated","max":"0"},{"id":"Procedure.meta.source","path":"Procedure.meta.source","max":"0"},{"id":"Procedure.meta.profile","path":"Procedure.meta.profile","min":1,"max":"1","fixedCanonical":"https://joshuamandel.com/shc2-poc/StructureDefinition/cycle-log-procedure"},{"id":"Procedure.meta.profile.id","path":"Procedure.meta.profile.id","max":"0"},{"id":"Procedure.meta.profile.extension","path":"Procedure.meta.profile.extension","max":"0"},{"id":"Procedure.meta.security","path":"Procedure.meta.security","max":"0"},{"id":"Procedure.meta.tag","path":"Procedure.meta.tag","max":"0"},{"id":"Procedure.implicitRules","path":"Procedure.implicitRules","max":"0"},{"id":"Procedure.language","path":"Procedure.language","max":"0"},{"id":"Procedure.text","path":"Procedure.text","max":"0"},{"id":"Procedure.contained","path":"Procedure.contained","max":"0"},{"id":"Procedure.extension","path":"Procedure.extension","max":"0"},{"id":"Procedure.modifierExtension","path":"Procedure.modifierExtension","max":"0"},{"id":"Procedure.identifier","path":"Procedure.identifier","max":"0"},{"id":"Procedure.instantiatesCanonical","path":"Procedure.instantiatesCanonical","max":"0"},{"id":"Procedure.instantiatesUri","path":"Procedure.instantiatesUri","max":"0"},{"id":"Procedure.basedOn","path":"Procedure.basedOn","max":"0"},{"id":"Procedure.partOf","path":"Procedure.partOf","max":"0"},{"id":"Procedure.status","path":"Procedure.status","fixedCode":"completed"},{"id":"Procedure.status.id","path":"Procedure.status.id","max":"0"},{"id":"Procedure.status.extension","path":"Procedure.status.extension","max":"0"},{"id":"Procedure.statusReason","path":"Procedure.statusReason","max":"0"},{"id":"Procedure.category","path":"Procedure.category","max":"0"},{"id":"Procedure.code","path":"Procedure.code","min":1,"binding":{"strength":"preferred","valueSet":"https://joshuamandel.com/shc2-poc/ValueSet/cycle-log-procedures"}},{"id":"Procedure.code.id","path":"Procedure.code.id","max":"0"},{"id":"Procedure.code.extension","path":"Procedure.code.extension","max":"0"},{"id":"Procedure.code.coding","path":"Procedure.code.coding","max":"1"},{"id":"Procedure.code.coding.id","path":"Procedure.code.coding.id","max":"0"},{"id":"Procedure.code.coding.extension","path":"Procedure.code.coding.extension","max":"0"},{"id":"Procedure.code.coding.system","path":"Procedure.code.coding.system","min":1,"maxLength":255},{"id":"Procedure.code.coding.system.id","path":"Procedure.code.coding.system.id","max":"0"},{"id":"Procedure.code.coding.system.extension","path":"Procedure.code.coding.system.extension","max":"0"},{"id":"Procedure.code.coding.version","path":"Procedure.code.coding.version","max":"0"},{"id":"Procedure.code.coding.code","path":"Procedure.code.coding.code","min":1,"maxLength":128},{"id":"Procedure.code.coding.code.id","path":"Procedure.code.coding.code.id","max":"0"},{"id":"Procedure.code.coding.code.extension","path":"Procedure.code.coding.code.extension","max":"0"},{"id":"Procedure.code.coding.display","path":"Procedure.code.coding.display","maxLength":128},{"id":"Procedure.code.coding.display.id","path":"Procedure.code.coding.display.id","max":"0"},{"id":"Procedure.code.coding.display.extension","path":"Procedure.code.coding.display.extension","max":"0"},{"id":"Procedure.code.coding.userSelected","path":"Procedure.code.coding.userSelected","max":"0"},{"id":"Procedure.code.text","path":"Procedure.code.text","maxLength":128},{"id":"Procedure.code.text.id","path":"Procedure.code.text.id","max":"0"},{"id":"Procedure.code.text.extension","path":"Procedure.code.text.extension","max":"0"},{"id":"Procedure.subject.id","path":"Procedure.subject.id","max":"0"},{"id":"Procedure.subject.extension","path":"Procedure.subject.extension","max":"0"},{"id":"Procedure.subject.reference","path":"Procedure.subject.reference","min":1},{"id":"Procedure.subject.reference.id","path":"Procedure.subject.reference.id","max":"0"},{"id":"Procedure.subject.reference.extension","path":"Procedure.subject.reference.extension","max":"0"},{"id":"Procedure.subject.type","path":"Procedure.subject.type","max":"0"},{"id":"Procedure.subject.identifier","path":"Procedure.subject.identifier","max":"0"},{"id":"Procedure.subject.display","path":"Procedure.subject.display","max":"0"},{"id":"Procedure.encounter","path":"Procedure.encounter","max":"0"},{"id":"Procedure.performed[x]","path":"Procedure.performed[x]","min":1,"type":[{"code":"dateTime"}]},{"id":"Procedure.performed[x].id","path":"Procedure.performed[x].id","max":"0"},{"id":"Procedure.performed[x].extension","path":"Procedure.performed[x].extension","max":"0"},{"id":"Procedure.recorder","path":"Procedure.recorder","max":"0"},{"id":"Procedure.asserter","path":"Procedure.asserter","max":"0"},{"id":"Procedure.performer","path":"Procedure.performer","max":"0"},{"id":"Procedure.location","path":"Procedure.location","max":"0"},{"id":"Procedure.reasonCode","path":"Procedure.reasonCode","max":"0"},{"id":"Procedure.reasonReference","path":"Procedure.reasonReference","max":"0"},{"id":"Procedure.bodySite","path":"Procedure.bodySite","max":"0"},{"id":"Procedure.outcome","path":"Procedure.outcome","max":"0"},{"id":"Procedure.report","path":"Procedure.report","max":"0"},{"id":"Procedure.complication","path":"Procedure.complication","max":"0"},{"id":"Procedure.complicationDetail","path":"Procedure.complicationDetail","max":"0"},{"id":"Procedure.followUp","path":"Procedure.followUp","max":"0"},{"id":"Procedure.note","path":"Procedure.note","max":"0"},{"id":"Procedure.focalDevice","path":"Procedure.focalDevice","max":"0"},{"id":"Procedure.usedReference","path":"Procedure.usedReference","max":"0"},{"id":"Procedure.usedCode","path":"Procedure.usedCode","max":"0"}]}}
